原创 PHP Xdebug 3 和 Visual Studio Code

Xdebug3 相對於Xdebug2改動挺大的。在php.ini 裏下面的設置就夠了,不需要多餘的。默認調試端口 9003   [XDebug] zend_extension = "php_xdebug.dll" xdebug.mode

原创 Japanese Shift-JIS Characters that Cause Problems

Japanese Shift-JIS Character Mapping - IBM Documentation Characters that Cause Problems The following table describes th

原创 Mac OS 下 控制檯的代理設定

設置: export all_proxy=socks5://127.0.0.1:1086   取消: unset all_proxy

原创 download web folder using wget

You have to pass the -np/--no-parent option to wget (in addition to -r/--recursive, of course), otherwise it will follow

原创 Jenkins, How to Start, Stop or Restart your Instance

https://support.cloudbees.com/hc/en-us/articles/216118748-How-to-Start-Stop-or-Restart-your-Instance- URL http://<jenkin

原创 Windows Batch: Remove file extension

You can use %%~nf to get the filename only as described in the reference for for: @echo off for /R "C:\Users\Admin\

原创 How to avoid surrounding html head tags in Jsoup parse

final String html = "<p><b>This <i>is</i></b> <i>my sentence</i> of text.</p>"; Document docHtml = Jsoup.parse(html);

原创 ubuntu 停止 software updater 的消息

沒事就提醒我安全更新, GUI界面裏只能禁一部分,煩死了。 網上找了一個老版本的方法,不知道對20.04 是不是有用   sudo systemctl disable apt-daily.service apt-daily-upgrade

原创 ubuntu 20.04 下 pgadmin4 和 pgadmin4-web 的使用和安裝

挺好的教程   curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add - sudo sh -c 'echo "deb https:/

原创 一個使用windows batch 批量轉化目錄內文件格式的腳本。

都忘了從哪裏扒過來的。 寫得挺好的。 @ECHO OFF FOR /R %%G IN (*.aac) DO (CALL :SUB_VLC "%%G") rem FOR /R %%G IN (*.m4a.mp*) DO (CALL :SU

原创 minikube start ,國內環境

前提: 在VPN 情況下,已經安裝好了 minikube的virtualbox 虛擬機。 但是,minikube start時,需要訪問 192.168.99.X , 可是霸道的VPN是不允許這個本地地址訪問的。 如果解除VPN, 又會遇到

原创 jshell 亂碼問題的解決。

前提: 控制檯的編碼已經設置成 chcp 65001 了, 無論是用註冊表或者別的方式。   解決方法1,全統一成英文 C:\_work\projs\java\intellij01>set JAVA_TOOL_OPTIONS="-Duse

原创 安裝完 Netbeans 之後需要做的事

  1) conf/netbeans.conf 改成英文顯示 找到 netbeans_default_options, 在最後(引號裏) 加上 --fontsize 16 -J-Duser.language=en -J-Duser.reg

原创 SecureCRT HG255D線刷ttl亂碼

設置了 字符集啊,字體的,重啓了很多回就是不行。 最後檢索到一篇文章,講到了 波特率必須設爲 57600 所以: 1)Windows 設備管理器那邊,把對應的COM端口的端口設置成57600 2)SecureCRT的Session那邊,對應

原创 Drives Appearing Twice in Navigation Pane of Windows 10 Explorer “This PC”

https://www.askvg.com/fix-drives-appearing-twice-in-navigation-pane-of-windows-10-explorer-this-pc/ 1. Press WIN+R keys