如果想知道容器嘅原理,我圈起左
Category: Programming
Simplest standalone ApacheDS server
This code run a standalone ApacheDS server, you can use ApacheDS studio to connect to it, it host localhost:10389 pom.xml Then you can connect it by ApacheDS Studio
How to make your netbeans more beautiful
Set to a better font size 4. Set the color
Quantr Dwarf Library – Print address/lineNo/ColNo from specific address
Linear Regression in java
Latest SPFx, web parts not appear
Using latest SPFx with node v18, pack and deploy the app no error, but web parts not appear, because you missed this. When you upgrade your SharePoint project, beware of this
Netbeans programmatically add watch expression to the “watch window”
use this code pom.xml
WordPress Theme to support post-views-counter
To make the plugin works, need to call wp_footer() in footer.php
syscall.c for STM32 + XCubeAI
Funny lesson today to build few 8-bit registers
Teaching teens for electronics is a rewarding and fulfilling experience. Electronics is a fascinating field that combines creativity, logic, and problem-solving. By teaching teens for electronics, you can help them discover the joy of learning new skills, creating useful devices, and exploring the world of technology. You can also inspire them to pursue their passions, […]
COSCUP 2023
多謝hkcota同oshk安排, 今次台灣可以係coscup 2023講個talk實在開心.
PNP create a new list get 403 access denied
Create a new list in SPO via PNPjs will get 403 access denied, run this script to solve it
Load jar and dynamically create object from it
Two maven project, project A load the project B jar, create the object dynamically and invoke the method Project A: Project A: Project B:
WordPress Component
To redesign our first app engine, we reference WordPress. This is its loading sequence https://medium.com/@dendeffe/wordpress-loading-sequence-a-guided-tour-e077c7dbd119
Change SP list into MS list
just add “?env=WebViewList” at the end of URL
Very good micro python board
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.15412e8duBDI2J&id=645704746945&_u=mbuhab0da05
Very good lucene book in cityu library
Tiny STM32 board (STM32F103C8T6)
https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8ddznHy0&id=630403001847&_u=gbuhab04cbb STM32F103C8T6
Great ByteBuddy tutorial
refer to https://blog.csdn.net/wanxiaoderen/article/details/106544773
Solved: SharePoint 2019 ERR_HTTP2_PROTOCOL_ERROR
Navigate to the registry key 2.HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters. Add 2 new REG_DWORD values, EnableHttp2Tls and EnableHttp2Cleartext, to this registry key. Set both values to 0. Reboot the server refer to https://stackoverflow.com/questions/67747270/reactjs-neterr-http2-protocol-error-200-with-netcore-in-https/67767129#67767129
SharePoint Error: apps are turned off
Solved by these commands
Code to set accent color of FlatLaf
Convert 64 bits binary string to BigInteger and maintain the sign
The first and third method converted successfully with sign. The second one fail. The reason 3rd way working is : It convert to biginteger and convert to long (then we have sign),then convert back to biginteger (also with sign)
Netbeans : communicate with other JTopComponent in the same module
OpenEdx knowledge base – get all comments for a specific discussion thread
Don’t use “skip” in antlr grammar for netbeans syntax highlight
use “channel (HIDDEN)” instead of “skip”, otherwise the netbeans will throw exception.
validate() in TableCellRenderer affect performance in windows
validate() in TableCellRenderer affect performance in windows, just read the source code of DefaultTableCellRenderer, just override it with empty function body will increase huge performance. Only windows affect this, mac and linux wont.
Microsoft Online Services SLA
SharePoint Online奇怪現象
呼叫SharePoint Online Restful api時,如果ISPHttpClientOptions是空一樣能成功,但返回之時間值會錯timezone
SPFX init pnpjs
Export Folder Permission to csv
Nice book
A very good provision tutorial
https://plumsail.com/docs/actions/v1.x/flow/how-tos/sharepoint/create-list-library-pnp.html
Good book about search design
spfx v1.12因為太多bug強行下架
spfx v1.12因為太多bug所以咪記已經強行下架而家變返v1.11, 之前用左v1.12請人手downgrade。玩咪記野跟車太貼有一定風險。
支持本土, 寫Program用香港人嘅字體
「昭源黑體」唔錯 !!! https://chiron-fonts.github.io/sans/?fbclid=IwAR1K_nmgsBYJD68yRHEMHSnfUHTjJFAGaEyBSjVrIP8DYKM0UN_7Pgtvoy8
Build vscode, host it localhost and run it in browser
https://www.barretlee.com/blog/2019/10/23/vscode-study-01-start/ Visual Studio Code 是微软推出的一款轻量级编辑器,与它一起在市场争锋的相似软件还有 Atom 和 Sublime Text,面世第二年的它只占据 7% 左右的市场,后来在短短三年时间雄踞了半壁江山,不可谓不哇塞。 发育如此强势的软件,背后到底是如何设计的,未来一段时间,我将带着你一点一点拨开她的面纱,再撩开她的裙摆。 下载源码 Visual Studio Code 简称 VSCode,需要注意的是,平时我们使用的 VSCode 那是产品,而下面我们要介绍的是源码,产品是源码的构建结果;源码使用的 MIT License,而产品使用的是这个 MICROSOFT SOFTWARE LICENSE TERMS,如果你想把 VSCode 用于商用,建议从源码构建出新的产品,而不是直接使用人家官网上提供下载链接的 VSCode Product。 官网地址是 https://code.visualstudio.com/ 源码在这里:https://github.com/microsoft/vscode。 我们先把源码 down 下来: git clone –depth 1 https://github.com/microsoft/vscode.git 由于 VSCode 项目过于活跃,提交量非常庞大,到目前为止,已经有 56,092 次提交了,建议在下载源码的时候加了一句 –depth 1,意思就是只现在最近一次 commit 的代码。 30s 后……71M,不慢。 安装依赖 在安装依赖之前,我们不妨稍微分析下 VSCode 的项目结构, ➜ vscode (master) tree -L […]
Power Automate Desktop
Power Automate Desktop有好強烈嘅”Variable”氣息, 呢一點會令好多Programmer所喜愛. 加上佢對傳統Programming嘅範式有好正嘅一對一支持, 特別令Programmer容易上手, 就算係一啲初級嘅Programmer都會覺得好就手. 加上咪記黎緊會加強佢嘅SDK支持同加深自己產品線嘅整合, 所以UIPath今次玩完了.
Office Nodejs SDK走向統一
之前都仲有分Office/Excel/Word唔同嘅App有唔同嘅Task Panel, 而家統一哂. 同埋Object都統一用埋叫”Document”
WordPress Plugin : Google drive album
Display images google drive in your WordPRess. https://gitlab.com/quantr/wordpress/google-drive-album