Kernel, Virus and Programming

Simplest tutorial to read yammer message in SPfx

Step 1 : Browser https://www.yammer.com/client_applications create your app Step 2 : Make sure you fill in the Javascript Origins, otherwise you will get an cors error Step 3 : Generate the developer token, we need it to send get/post form spfx Result:


2019/11/16 0

PowerApps for PowerBI終於都來了

我們終於可以用PowerApps去加強PowerBI Dashboard的動性, 亦可以用PowerApps作為一個UI的接口去程現不同的外部資料 https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual


2019/11/16 0

My first notebook that can run SP2019 on-premises

I have to switch back to windows because almost all verilog toolchain only work in windows. And I bought MSI Prestige-15-A10X which has 32GB ram and 1TB nvms ssd, it is only $15300 HKD, super valueable. It is the first notebook which i can run a SharePoint 2019 VM locally.


2019/11/14 0

Netbeans in Mac vs Windows

Netbeans in windows is much more ugly than in Mac, here is my point of view: Font is not align and not beautiful The java swing L&F in mac match with OS, but not the one in windows Toolbar icon style not match with windows


2019/11/13 0

Gitlab CI + Asp.net core

Add auto build and publish using gitlab ci/cd services and deploy to ubuntu.


2019/11/12 0

Assembler Meetup #20, 2019/11/09

Kelvin and Jenny heading to encode b* and c* instructions Desmond keep going to PE format Peter try to add assembler marco. I will think about our own linker format next week.


2019/11/09 0

Assembler Dev #19 2019/11/02

We think the encoding method is stable, asked Jenny to write a wiki, describe how we can encode each instruction https://gitlab.com/quantr/toolchain/Assembler/wikis/Tutorial-of-decoding


2019/11/09 0

Netbeans hangs in Mac since Netbeans 8.2 to now

I have a Netbeans module call “Maven Runner“, it was originally in Ant. When I install it into my local netbeans, it regularly cause the netbeans failed to start. When I was starting Netbeans, the splash came out, then it disappear, but the main screen never show up. Two months ago, i rewrite it into…
Read more


2019/11/06 0

玩了14年QQ終於被永久凍結

玩了14年QQ終於被永久凍結了, 原因為了說了一些大陸不想聽的說話


2019/10/14 0

Assembler Dev #16 2019/10/12

We finalize our error handling method, in both antlr grammar and java instruction “ADC” fully encoded, but still some combination mis-encoded. That means nasm don’t encode it, but we do https://www.quantr.hk/asmweb , our new testing site is launched


2019/10/12 0

Netbeans module failed to install nb-javac

If you netbeans maven module used this in pom.xml, then you will have this problem


2019/10/06 0

YEAH ! 咪記終於有個Portal可以search哂所有sample code

YEAH ! 咪記終於有個Portal可以search哂所有sample code, 仲有埋azure on-click deploy https://docs.microsoft.com/en-us/teamblog/code-samples https://docs.microsoft.com/en-us/samples/browse


2019/10/05 0

Getting started with RISC-V

https://dantalion.nl/en/getting-started-with-risc-v/ So you have heard of this RISC-V thing typically talked about in the context of microprocessors and to a lesser degree also for desktop processors. RISC-V is an open-source hardware instruction set architecture (ISA). Similarly to how X86 for Intel and AMD is a closed source ISA. Being an open-source ISA any manufacturer can…
Read more


2019/10/05 0

Assembler Dev #16 is cancelled

It is because of Carrie Lam


2019/10/05 0

Assembler dev meeting #15

2019/09/28 meeting in cityu. We soonly clear up all combination of ADC instruction. Updated the testing web https://www.quantr.hk/asmweb


2019/10/02 0

Mac inconsistence free disk space between “System Information” and “Disk Utility”

This command can fix: sudo tmutil thinLocalSnapshots / 10000000000 4


2019/09/23 0

Assembler dev meeting #14

2019/09/21, as usual, heading to our first milestone. Enhanced the full test output, added two filters. Filter out by instruction or by error. http://www.quantr.hk/wp-content/plugins/NasmWeb/public//viewOutput.php?path=/home/gitlab-runner/output/output_300588484.html Jenny and Kelvin is clearing the ADC instruction Desmond is extending https://gitlab.com/quantr/toolchain/quantr-executable-library to support Windows PE format


2019/09/22 0

成功!ELF文件輸出正常

Heading to goal : Our assembler our elf file directly


2019/09/21 0

SharePoint的專業開發者要多注意Core.js

今天開發SharePoint SPFx項目時見到,大家多多注意Core.js這個比較底層的JS library


2019/09/18 0

Serious hanging problem in Microsoft Flow

I got a list on SharePoint Online, which is a typical list with some single-line col and one lookup field. I create a flow to get all item from it (no filtering), then use “Apply to each” to loop through all items. For testing, i got two identical loops. After i run it, one successful…
Read more


2019/09/17 0

Assembler dev meeting #13

2019/09/14, we met in cityu again. I finished IMM in other project https://gitlab.com/quantr/toolchain/antlr-calculator-library . So Assembler’s parser will eat up the whole numeric string and then pass it to antlr-calculator-library, if it contains a maths expression, it return the final answer which is a number. I created another library to produce ELF output. Jenny and…
Read more


2019/09/16 0

ELF Specification 1.2 is only for 32 bits

I am writing a java library to manipulate 64 bits ELF, so i read ELF specification 1.2 , but one big mistake i took is : this specification is only for 32 bits, and the 64 bits one introduce new data types. So I was trying to guess out what data types it is using…
Read more


2019/09/09 0

Bash script to create a file with increment bytes

for ((x=0;x<=255;x++)); do a=`echo “obase=16; $x”|bc`;echo -n -e “\x$a”; done


2019/09/08 0

強烈推介, 深圳小脚丫fpga

https://detail.tmall.com/item.htm?id=589934876916&ali_refid=a3_430620_1006:1213910051:N:kUYNEKediVRtRcfPZeogQz+fixtE0nqV:4c45447dff14948a212296ee9fa615a2&ali_trackid=1_4c45447dff14948a212296ee9fa615a2&spm=a230r.1.14.1 主要好處是: 面積細 一條USB搞定, 不用其它Jtag Lattice Diamond好易上手, 至少比Quartus和Vivago更易


2019/09/08 0

Azure抄走隻vhd真係好貴

Azure抄走隻vhd真係好貴,抄左兩個file,200GB,成100蚊美金


2019/09/02 0

Assembler dev meeting #11

sync-ed up Jenny coding skill to all of us. Jenny now clearing all useless code, rename variables to a more meaningful name. Our next job is to encode all instructions together, and for me, create an ELF library to output ELF format object code. Here is our tuned assembler grammar https://gitlab.com/quantr/toolchain/Assembler/blob/master/src/main/java/hk/quantr/assembler/antlr/AssemblerParser.g4


2019/09/01 0

Assembler dev meeting #10

As usual, #10 meeting was hold in CityU. We getting more familiar with Intel basic instruction set translating. Here is the actions list for next week: Zero padding, cut of pad “0” Jenny consolidate your code into well format, let us understand and give us tutorial next sat morning Desmond: nasm in linux example, able…
Read more


2019/08/25 0

Assembler Dev Meeting #9 2019/08/16

Meeting #9come up with these fixes: Kelvin fix 66 67 REX Prefix Ending bytes (displacement) Desmond fix IMM* > IMM https://gitlab.com/quantr/toolchain/Assembler/issues/28


2019/08/19 0

Generic E-Form system design

Lots of customers has implemented e-form using different technologies such as Nintex, SPFX, Microsoft Flow. We are going to design a generic E-Form system for them, providing a centralize mechanism for administrators to add/remove eform, user management, log management and etc…


2019/08/14 0

Wheatstone bridge in multisim

Simulation is correct


2019/08/12 0

Why Multisim sometime is 100% accurate than calculation, sometimes is not

This exercise is 100% same as calculation But below one is not 100% same as calculation, it use just same components: VC + Resistors. Is multisim using brute force to guess out the voltage and current values?


2019/08/11 0

Antlr所有Embed action都會跑在Listener前面

意思是會先跑光所有embed action,然後才會跑listener裏面的function


2019/08/06 0

Assembler Dev meeting #6, #7 and #8

Desmond typed all basic instructions to grammar. We found some translation are wrong. I fixed the full test so can test all translated instructions.


2019/08/05 0

I thought Java swing is pixel graphic

In last 20 years, I thought Java swing is pixel graphic, but i found out it is vector. I tried to draw a 1 pixel line with 45 degrees, and when i zoom out, i proved it is not pixel base. So all drawLine, drawRect function calls are vector graphic.


2019/07/30 0

Calling Docusign Restful API with Bearer

In DocuSign, Bearer is same as access token, just two different names. It can be generated by this web https://developers.docusign.com/oauth-token-generator , make sure you have an sandbox account.


2019/07/28 0