Kernel, Virus and Programming

Break through agilepoint v5 smtp authentication problem

I can’t successfully config agilepoint to send email through smtp server with authentication. I finally able to find the project template in visual studio 2010 to create my own email stub. Still trying ! read count : 1


2018/03/30 0

Generate dynamic lexer from antlr grammar

Generate dynamic lexer from antlr grammar and try to parse something, because it is a lexer only, so it returns tokens not grammar tree. read count : 0


2018/03/26 0

Make changes to Netbeans IDE is just so easy

If you want to modify something to Netbeans IDE, just git clone the source, change its code, type “ant” and “ant try me”, very simple read count : 0


2018/03/24 0

Netbeans talk in Cocoon seminar

Netbeans talk in Codeaholics seminar. A lots of people, i have demo to people create a simple plugin to extends Netbeans is just so easy. read count : 2


2018/03/17 0

Netbeans lexer problem : Fix the lexer to not return null token in this state

I have met the problem “Fix the lexer to not return null token in this state.” (see below) and used one week to fix it by hacking netbeans source code. I found out Netbeans will not pass the whole file to lexer to parse. So if your antlr grammar used “skip” syntax, it has a…
Read more


2018/03/13 0

Redirect local IIS to SharePoint Online

Install Application Request Routing https://www.iis.net/downloads/microsoft/application-request-routing Make sure “url rewrite” is in your IIS Follow the below screen to add rule read count : 1


2018/03/13 0

SharePoint 2016 Central Admin Functionalities summary

Application management Create/edit/delete web application Create/edit/delete site collection Assign site collection primary and secondary administrator Create or extend Web application Remove SharePoint from IIS Web site Delete Web application Define managed paths Web application outgoing e-mail settings Web application general settings Content databases Manage Web application features Web application list SharePoint Site Management Create site…
Read more


2018/03/12 0

Microsoft is fake again, node 8.9.0 is not working for office365 development

In SharePoint with NodeJs development, Microsoft was suggesting us to use Node 6.9.x, now microsoft website is updated and telling us to use Node8.9.x, I tried which failed. Lots of people on technet are saying they can’t compile their SharePoint project too. Microsoft need a better open source QC team. read count : 1


2018/03/11 1

Microsoft outlook addins example is wrong

Microsoft outlook addins example is wrong if you use reactjs with webpack. Go to webpack.dev.js file, add the things in the below screen. After you run “npm start”, manually browse to “https://localhost:3000/function-file/function-file.html” and check all files referred by it are loaded successfully. Then the “Gist the gist” button will work. Peter read count : 1


2018/03/11 0

Community Kit for SharePoint

Community Kit for SharePoint is a famous open source project in SharePoint world, it has some projects for reference designs. read count : 1


2018/03/11 0

VSTO vs nodejs api for outlook plugin development

Microsoft technologies keep changing, if you want to develop addins for Microsoft outlook, you can choose VSTO api or nodejs api which is javascript based. VSTO api just like traditional outlook addins development, everything done in visual studio and output a Dll file for you to deploy the addins. Nodejs api is different, when you…
Read more


2018/03/11 0

Solved : “these characters need to be tokenized” for netbeans lang development

When developing highlight for new language, the antlr grammar has to return all tokens, you can’t skip token, otherwise your netbeans will throw this exception: read count : 2


2018/03/10 0

Netbeans dev – file template iterator

This setting can define a new JPanel for new file creation. http://grepcode.com/file/bits.netbeans.org$maven2@org.netbeans.modules$org-netbeans-modules-cnd-asm@RELEASE712@org$netbeans$modules$cnd$asm$core$resources$layer.xml read count : 2


2018/03/09 0

Deploy nodejs to azure, it just hang

Deploy nodejs to azure, it just hang. The “/usr/bin/npm-cli.js” install –production take forever time to complete, i have waited 10 mins, i think it is hang. read count : 2


2018/03/04 0

Filter out 64 bits instructions

correct way to filter out 64 bits instructions in 16 or 32 bits mode in antlr grammar. Some intel instructions only support 16 or 32 bits mode, so assembler must tell user those instructions are wrong when they are in 64 bits mode. read count : 1


2018/03/04 0

Added JUnit test case to test all byte code

Added JUnit test case to test all byte code with nasm, abandon the web interface because run a junit test is much more convenient. read count : 2


2018/03/03 0

I am better to embed all testing assembly instruction in the antlr listener

I am better to embed all testing assembly instruction in the antlr listener rather than finding a way to embed them into the antlr grammar, because: Using parser of parser skill set to write a parser to parse antlr grammar and extract the testing asm instruction is too risky. One day the antlr grammar will…
Read more


2018/02/28 0

SharePoint left navigation bar in modern page

If you create a SharePoint site using the “communication site”, the left navigation is hidden and the top navigation menu appear. Which is different than the “Team Site” and there is no way to change it back unless you write code for custom branding. So need to beware of this when you create a SharePoint…
Read more


2018/02/28 0

Netbeans qucik outline design II

read count : 1


2018/02/27 0

First draft of netbeans quick outline plugin

First draft of netbeans quick outline plugin, click ctrl-p / command-p in mac, then click on any row to jump to there. I think using table instead of tree is much better than eclipse. Also, eclipse show a lot of different icons (local var, global var, final var, etc…). It is useless and confusing our…
Read more


2018/02/26 2

Netbeans quick outline

Eclipse quick outline is just so convenient, after i press command-O shortcut, i can type in keyword to filter the function/variable i want, then just click enter to jump to it. In netbeans, when i press cmomand-7, it opens navigator window which is similar to eclipse one, but it doesn’t support filtering and sometime can…
Read more


2018/02/26 0

Test cases in antlr grammar file

I am developing an Assembler, i think the best way is to embed the test case into the grammer, all those test cases are just one single line of assembly code. But now no way to do this in Antlr grammar. I am thinking to create a maven plugin to pre-process the grammar file. Add…
Read more


2018/02/24 0

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? read count : 1


2018/02/20 0

Spring-boot will ignore your own log4j.properties

Spring-boot will ignore your own log4j.properties, 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. read count : 2


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. read count : 1


2018/02/17 0

My mini-z finally can run now

read count : 1


2018/02/17 0

SharePoint – Patterns and Practices

These web are good for you to learn latest SharePoint dev patterns and practices – [PnP at dev.office.com](http://aka.ms/OfficeDevPnP) – Welcome page with sample and guidance search – [SharePoint Dev Group](http://aka.ms/sppnp-community) – Questions and feedback – [PnP at MSDN](http://aka.ms/OfficeDevPnPMSDN) – [PnP videos](http://aka.ms/sppnp-videos) at YouTube – [PnP at Docs.com](https://docs.com/OfficeDevPnP) – Docs.com – [PnP Sites Core Component](http://aka.ms/officedevpnpsitescore) –…
Read more


2018/02/13 0

Installed AgilePoint NX

Installed AgilePoint NX, start doing research read count : 1


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. read count : 3


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. read count : 0


2018/01/27 0

My simplest bootstrap example

TestBootstrap read count : 2


2018/01/24 0

Quantr forms logo and icon

read count : 0


2018/01/20 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 ! read count : 3


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. https://gitlab.com/quantr/sharepoint/Sharepoint-Java-API/blob/83750c61ec040a699ca02525bc4402ad7ae69227/src/test/java/hk/quantr/sharepoint/TestHavePermissions.java The…
Read more


2018/01/01 0

spring-boot pack fat jar with jsp

Very important notes on spring boot https://github.com/spring-projects/spring-boot/issues/8299 , 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 https://github.com/OfficeDev/office-ui-fabric-core/releases , download the source and check all the class names you need. read count : 2


2017/12/17 0

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

https://channel9.msdn.com/blogs/OfficeDevPnP/SharePoint-Framework-Tutorial-6-Using-Office-UI-Fabric-Components read count : 1


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