Kernel, Virus and Programming

Why nasm support an instruction that doesn’t exist on Intel manual

Nasm support “mov al,0x1234” which is “ADC AL, imm16”. But on Intel manual, there is only “ADC AL, imm8”. Why?

2018/02/20 0

Spring-boot will ignore your own

Spring-boot will ignore your own, two ways to fix that Way 1: Way 2: Put the spring-boot dependency in higher positions in , but way 1 seems much better way to fix this problem. Peter.

2018/02/18 0

Azure functions for java still not mature enough

I was trying to put my assembler on cloud and found out Azure functions for java still not mature enough, using some libraries such as antlr will cause unable to compile. Searching around google and seems no answer.

2018/02/17 0

SharePoint – Patterns and Practices

These web are good for you to learn latest SharePoint dev patterns and practices – [PnP at]( – Welcome page with sample and guidance search – [SharePoint Dev Group]( – Questions and feedback – [PnP at MSDN]( – [PnP videos]( at YouTube – [PnP at]( – – [PnP Sites Core Component]( –…
Read more

2018/02/13 0

Installed AgilePoint NX

Installed AgilePoint NX, start doing research

2018/02/13 0

Can write simple test bench in vivado

After reading my verilog book for few days, i can write test bench file to test my verilog program in vivado. I like vivado much more than altera quartus, the UI is much more clean.

2018/02/02 0

For the user interface, Vivado is much nicer than Quartus

For the user interface, Vivado is much nicer than Quartus. Better to stick into Xilinux to build my soft core.

2018/01/27 0

My simplest bootstrap example


2018/01/24 0

Crazy icon size for sharepoint modern webpart

If using office fabric icon, it is 28px x 28px. If using iconImageUrl, is has to be 40px x 28px, which is much smaller !

2018/01/20 0

Added test case for api /doesuserhavepermissions

Added test case for api : _api/web/doesuserhavepermissions, you can use this example to test for a specific permission of a specific user. You must add the user to the SharePoint owner group, otherwise it will return false. If the user don’t event have right to enter the subsite, the api will return 403. The…
Read more

2018/01/01 0

spring-boot pack fat jar with jsp

Very important notes on spring boot , if you want to pack your spring-boot into an executable jar with jsp, wherever you put your jsp insrc/main/META-INF/resources orsrc/main/webapp, it will not work. The correct way to pack your application is : pack your spring-boot app into war instead of jar, but you can still execute your…
Read more

2017/12/29 0

SharePoint Online get all items with fields specified by view

I am not sure i am correct or not. There is no /_api/web/lists/GetByTitle(‘your list’)/View/getbytitle(‘your view’)/items restful api for SharePoint online. So to get the items with fields that specificed by a view, you need these steps: Call “/_api/web/lists/GetByTitle(‘your list’)/fields” to read all fields and save all “InternalName” and “FieldTypeKind” Call “/_api/web/lists/GetByTitle(‘your list’)/View/getbytitle(‘your view’)/ViewFields” to read…
Read more

2017/12/23 0

Grid in Office UI fabric js

Office UI fabric js library embedded a very old Fabric Core 5.0.1, so the grid example from Fabric Core will not work. All you have to do is change the class from “ms-lg2” to “ms-u-lg2”. Just go to , download the source and check all the class names you need.

2017/12/17 0

Greate tutorial : SharePoint Framework Tutorial 6 – Using Office UI Fabric Components

2017/12/14 0

WordPress SharePoint tag to read document library

I want to display files in SharePoint’s document library in my wordpress. There is one big technical problem, javascript still can’t do external authentication to SharePoint, by default your browser blocked corss site script. Even you enabled it in command line, your javascript still can’t set the custom “Cookie” in the header that need to…
Read more

2017/12/12 0

Netbeans + Azure functions

If you are programming Azure functions in Netbeans, when you run “azure-functions:run”, you will have this bug: azure function “sh: func: command not found” Just manually copy your $PATH variable into netbeans, bug will gone

2017/12/11 0

Solved: Error while finding module specification for ‘azure.cli’ (ModuleNotFoundError: No module named ‘azure’)

when you have the follow error when running azure-cli az command: /Users/peter/lib/azure-cli/bin/python: Error while finding module specification for ‘azure.cli’ (ModuleNotFoundError: No module named ‘azure’) Just run directly

2017/12/10 0