Category Archives: Uncategorized
Teaching kids for teen club

2022/10/21
Force gdb to read .gdbinit in current folder
GDB User Initialization File The user initialization file contains commands that are executed upon the startup of GDB. It is located in your home directory under the path: ~/.gdbinit Create/edit this file and add the following line to this file: set auto-load safe-path / This allows our programs to use a current directory initialization file, […] 2022/10/16
Sync qemu fork
After I forked qemu, these comands can sync the origin repo 2022/10/14
Netbeans module get current project path
2022/09/25
Solved: The request message is too big. The server does not allow messages larger than 2097152 bytes.
SharePoint Online CSOM error : The request message is too big. The server does not allow messages larger than 2097152 bytes. 2022/07/19
LuaNode running arduino setup
2022/02/28
Best post to explain php and fastcgi
https://cloud.tencent.com/developer/article/1442424 2021/10/10
Very good AI book by examples

2021/09/19
Knowledge Management
2021/07/15
WebPart spfx section background color
2021/05/30
Create pfx file to add custom domain for Power Apps Portal
openssl pkcs12 -export -out certificate.pfx -inkey privkey1.pem -in fullchain1.pem 2021/05/17
Solved: liximomo error : file not found
https://stackoverflow.com/questions/67506693/vscode-error-no-such-file-sftp-liximomo-extension/67524099#67524099 This is apparently a brand new problem that has been introduced into the newer versions of VS Code. I have FOUND A SOLUTION that seems to work well, by modifying a single line in the extension code. This is only valid for version 1.12.9 of the liximomo.sftp extension. Here are the steps: Shutdown / Quit VS Code. Locate […] 2021/05/15
Very good git command tutorial examples
https://www.codegrepper.com/code-examples/shell/git+log+first+line 2021/05/09
Good book about search design

2021/04/16
RISC-V decode technique

2021/01/30
Never use Baidu Cloud Disk

Simple reaons, upload is fast, download only. few ten KB/s. It looks like Baidu don't want you to download your file, locking you in forever 2021/01/25
原子哥塊fpga非常唔錯,份doc好掂

份doc過千頁,跟住做毫無難度,好過"特權同學"好多,特權份doc基本上係搞笑,完全唔齊。 2020/12/27
Ubuntu 20 reset mysql 8 root password
2020/12/14
Studying Fortinet

2020/11/21
First Adobe Animate book

2020/11/07
RISC-V XV6 Book

2020/10/30
Good Project online powerpoint
2020/10/27
logic gate呢一層
我地平時用嘅variable,如果化到落logic gate呢一層,你無法找到佢嘅真身,佢亦都好可能同其它variable所化生嘅logic gate交織埋一齊,你亦都無可能找到佢確實嘅存在嘅時間,一切好虛無,但有其功用。呢個係coding體驗空性嘅其中一個睇法。而家啲programmer執著玩排位玩放位玩lang玩framework,真係好可憐。 2020/10/27
Good PowerShell book

2020/10/26
New book to read: Sql server wait statistics

Learn more advanced skills for sharepoint tuning from sql server point of view. 2020/10/24
SharePoint can't login ad user (Resolved)
https://www.mssqltips.com/sqlservertip/3889/resolving-sharepoint-application-authentication-error-login-failed/ 2020/08/19
Great blog about vscode extension development
https://www.cnblogs.com/liuxianan/p/vscode-plugin-common-api.html 2020/04/12
Let's encrypt generate wildcard cert
This works https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7 2020/03/15
Simplest guide to config tomcat to use https with lets encrypt's free cert
Support you have generate a standalone cert using certbot command, and your cert is in /etc/letsencrypt/live/ . If not, follow this https://www.digitalocean.com/community/tutorials/how-to-use-certbot-standalone-mode-to-retrieve-let-s-encrypt-ssl-certificates-on-ubuntu-16-04 Execute openssl command and remember your password Edit tomcat's conf/server.xml, you just need one connector to serve 8443, no need other conntector Restart your tomcat, it is done. Below is the virtualhost to […] 2019/11/23
玩了14年QQ終於被永久凍結

玩了14年QQ終於被永久凍結了, 原因為了說了一些大陸不想聽的說話 2019/10/14
Mac inconsistence free disk space between "System Information" and "Disk Utility"

This command can fix: sudo tmutil thinLocalSnapshots / 10000000000 4 2019/09/23
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
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
一本由讀computer science嘅人所寫嘅哲學書

我而家總結一下書中所帶出的哲學問題,所有讀computer science嘅人都應該花時間思考一下: 神。人。機械人。三者之關係 機械人的超限作用 人好明顯就是當機械人係奴隸 機械人之自我認同,自我意識 克隆人是機械人? 人是機械人? 2019/07/08
Destroyed Yamato

By a level 8 Russian Destroyer 2019/05/12
再度苦練Illustrator

2019/04/04
經過中央圖書館,練AI

Both are great book 2019/03/10
I need to learn fast-reading technique

Usually i arrive shatin library 7pm so i got only one hour before close. So better to learn fast-reading technique. These two books are great. I think i need to buy some design sample books. 2019/03/06
Php example to read all tweets for a specific user
2019/01/27
佛教中的鬼與香港人普遍認為的鬼是不同的

雜心論對鬼有比較祥細的描述:1. 鬼有六識:眼意鼻舌身意,中國人普遍認為鬼無肉身,所以無身識2. 六道中各有不同的鬼,人死變人鬼,畜牲死變畜牲鬼,最特別的就是地獄眾生死後變死獄的鬼,由此可見地獄道眾生不是鬼,而餓鬼的眾生也不是鬼,如果不是鬼又怎會死了才變鬼呢3. 鬼經過女性的陰道投胎,而不是飛入個肚到投胎4. 有兩種說法,人道的鬼只能見到人道的鬼,第二種說法是人道的鬼可以見到比人道更低層次(地獄/畜牲/餓鬼)的鬼5. 鬼有時是見不到其它的鬼的,而中國的鬼應該是一定見到其它鬼的6. 鬼入胎後近右手為男,近左手為女,中國的鬼無此說法7. 地獄道的鬼頭向下腳向上而行走,只有天道的鬼才會飛8. 六道中各道的鬼與其道眾生,身型大小相差不遠 2019/01/15