Apple

Apple2015-10-08T23:12:35+08:00

FEATURED NEWS

修改 mysql 資料庫預設存放路徑

By |20 6 月, 2023|

sudo service mysql stop sudo cp -R /var/lib/mysql /新的路径 (通常是/etc/mysql/my.cnf或/etc/mysql/mysql.conf.d/mysqld.cnf) sudo nano /etc/mysql/my.cnf sudo service mysql start datadir = /新的路径

查詢 MS SQL Server 的SQL指令log(2016以上)

By |1 6 月, 2023|

語法 SELECT st.text as sql_statement, qs.creation_time as plan_last_compiled, qs.last_execution_time as plan_last_executed, qs.execution_count as plan_executed_count, qp.query_plan FROM sys.dm_exec_query_stats qs CROSS APPLY sys.dm_exec_sql_text(qs.plan_handle) st

使用 PoweShell 連接 MSSQL

By |1 6 月, 2023|

安裝 SqlServer 模組 Install-Module -Name SqlServer 程式碼 Import-Module -Name SqlServer $serverName = "your_server_name" $databaseName = "your_database_name" $connectionString = "Server=$serverName;Database=$databaseName;Integrated Security=True" $connection

在 Windows PowerShell 編寫API , 提供程式自動發送 Line Notify

By |31 5 月, 2023|

新增 line.ps1 param ( [Parameter(Mandatory=$true)] [string]$Message, [Parameter(Mandatory=$true)] [string]$StickerPackageId, [Parameter(Mandatory=$true)] [string]$StickerId, [Parameter(Mandatory=$true)] [string]$ImageThumbnail, [Parameter(Mandatory=$true)] [string]$ImageFullsize ) $Headers = @{ "Authorization" = "Bearer

在apache2開啟svg支援

By |9 5 月, 2023|

vi /etc/apache2/mods-available/mime.conf AddType image/svg+xml svg AddType image/svg+xml svgz 或 vi .htaccess AddType image/svg+xml svg AddType image/svg+xml svgz AddEncoding x-gzip .svgz 或直接 <object height="100%"

Docker 常用指令

By |8 5 月, 2023|

搜尋image docker search 關鍵字 安裝image docker pull image-name 顯示已下載的images docker images 執行image並且進入互動shell ducker run -it image-name 執行image並使用Port Mapping來轉到本機 [localhost Port:Container Port] docker

建立PHP開發環境/XDebug/Copilot

By |1 5 月, 2023|

安裝 Visial Studio Code - 下載 延伸模組安裝 安裝 chinese 安裝 PHP Debug 生成 phpinfo.php 開啟複製全頁內容到 https://xdebug.org/wizard , 並生成 下載提示的dll , 改名為 php_xdebug.dll 到

Load More Posts

FROM THE BOARD

Apple Forum

TUTORIALS & GUIDES

Hey! We have an
Apple Forum!

Nulla molestie tortor nec lectus venenatis, sed blandit dui finibus. Curabitur feugiat vulputate purus ipsums dolores ficilis uns etra.

Sign up

Subscribe to our Newsletter

[contact-form-7 id=”540″ title=”Subscribe Form”]

Go to Top