有 1380 筆資料符合您搜尋的條件

tim
2021年 8月 26日, 14:48
版面: linux區
主題: [linux]GREP查詢特定檔案內含特定內容
回覆: 0
觀看: 3614

[linux]GREP查詢特定檔案內含特定內容

使用指令: grep grep -ri --include="*.php" "select data from table" /var/www/site1 上述指令為 -r 包含子目錄, -i 為不區分大小寫, --include="*.php" 為指定 php 檔案, "select data from table" 為特定內容, 最後 /var/www/site1 為指定查找的起始目錄. grep -ir --include="file_pattern" "text_pattern...
tim
2021年 8月 25日, 11:52
版面: MISC
主題: [ELK]如何轉換欄位為geo_point
回覆: 0
觀看: 3541

[ELK]如何轉換欄位為geo_point

在建立好的資料上, 如何將欄位做轉換? 可以參考: https://foojitsu.com/blog/2020/02/convert-existing-latitude-longitude-in-elasticsearch-into-geo-points/ https://stackoverflow.com/questions/56802138/how-to-convert-existing-coordinates-in-elasticsearch-to-geopoints 不過若是遇到了這個訊息: "reason" : "unsupported symbol ...
tim
2021年 8月 3日, 11:37
版面: Wordpress架設與工具
主題: [plugin]WP Triggers - Add Instant Interactivity To WP
回覆: 0
觀看: 3132

[plugin]WP Triggers - Add Instant Interactivity To WP

WP Triggers - Add Instant Interactivity To WP

https://codecanyon.net/item/wp-triggers ... wp/3516401

增加互動機能的 plugin, 適合與網友互動或尋寶功能. 來看看 example:

https://www.webdesignersacademy.com/wp- ... /#examples
tim
2021年 8月 2日, 22:34
版面: 架站軟體區
主題: 多租戶Panel類型架站
回覆: 2
觀看: 5881

多租戶Panel類型架站

cPanel - https://cpanel.net/ (付費)
Plesk - https://www.plesk.com/ (付費)
CyberPanel - https://cyberpanel.net/ (有付費與免費版本)
FasePanel - https://fastpanel.direct/ (免費需註冊)
aaPanel - https://www.aapanel.com/ (免費)
Hestia - https://www.hestiacp.com/ (免費)
Easypanel - https://easypanel.io/ (有付費與免費版本)
tim
2021年 7月 26日, 10:29
版面: html/javascript/asp/php
主題: [php]password_hash於5.4以下版本的相容性做法
回覆: 0
觀看: 3387

[php]password_hash於5.4以下版本的相容性做法

請參閱這篇:

https://stackoverflow.com/questions/253 ... or-php-5-4

利用這個第三方函數庫 password_compact -

https://github.com/ircmaxell/password_compat

include 他的 password.php 即可於 php 5.3.7 以上版本使用 password_hash 功能.
tim
2021年 6月 16日, 12:45
版面: MISC
主題: office365授權但仍為office2019問題
回覆: 0
觀看: 3606

office365授權但仍為office2019問題

How to Fix Office 365 Shows as Office 2019 Professional Plus | Office 365 Showed As Office 2019


主要指令為

代碼: 選擇全部

cscript ospp.vbs /dstatus

cscript ospp.vbs /unpkey:xxxxxx
tim
2021年 5月 10日, 10:35
版面: 好用工具軟體區
主題: [MAC,iOS]Proxyman - Modern Web Debugging Proxy
回覆: 0
觀看: 10784

[MAC,iOS]Proxyman - Modern Web Debugging Proxy

Proxyman - Modern Web Debugging Proxy

https://proxyman.io/

同時有免費版與付費版可供應用, 同時在 MAC / iOS 也都有對應的程式, 十分方便.

對於需要除錯或監聽在 MAC OS 下或 iOS 下的環境, 可以方便使用.
tim
2021年 4月 14日, 11:00
版面: 資料庫專區(SQL/ORACLE/MySQL/...)
主題: [MySQL]If statement在stored procedure之外使用
回覆: 0
觀看: 3671

[MySQL]If statement在stored procedure之外使用

一般來說, 在 IF-THEN 語法是在 stored procedcure 裡使用, 若是想在一般 query 裡使用, 得稍微調整一下, 例如: set @a = 1; IF @a < 5 THEN set @a = 5; END IF select @a; 在 stored procedure 外是無法執行的, 會有 #1064 語法錯誤的狀況. 可以調整如下: set @a = 1; set @a = (select case when @a<5 then 5 else @a end); select @a; 即可順利執行. Reference: https://gist.github...