跳到主內容

最近更新的頁面

大於等於小於 縮寫

lt:less than 小於 le:less than or equal to 小於等於 eq:equal to 等於 ne:not equal to 不等於 ge:greater t...

【JS】相關資源

教學 现代 JavaScript 教程

【tip】常用settings

修改 settings.json { "workbench.editor.wrapTabs": true, // tab數量超過一行是否摺疊顯示(false 會出現scroll bar...

Laravel_Validation

  參考: Laravel Validation 經驗談. 如何確認 request body的參數是符合我們預期的?… | by Kidd Chan | K88D | Medium La...

Vue 建立專案

  # install vue cli npm install -g @vue/cli # 建立 my-project 專案 vue create my-project 選第三個 ...

PHP_判斷json物件

  function isJson($string) { json_decode($string); return json_last_error() === JSON_ERR...

【MySQL】 mysqldump參數大全

  IT 研究室 ( 前IT DBA's 資訊站): [轉載] MySQL mysqldump參數大全 (jaychu649.blogspot.com) 要注意的是--master-data...

【Python】刪除 window 下執行時產生的暫存檔

for /f "delims=" %F in ('Dir /B /S .\*.py ^|findstr /IE "\\migrations\\[^\\]*.py"^|findstr /IEV "...

【ES6】其他新語法

預設值 function sum(a, b = 1) { // 加入預設值避免錯誤 return a + b; } console.log(sum(1));

PHP_使用curl 上傳資料

client shell # curl 上傳資料 # {file} : 可更改,$_file 的key就會不同 # curl -X POST -F "{file}=@{檔案路徑}" {ap...

【ES6】陣列方法

  https://www.youtube.com/watch?v=_vFuDQ_6Xt8

【Openresty】Nginx Lua的 執行階段

nginx 執行步驟 1、post-read 读取请求内容阶段,nginx读取并解析完请求头之后就立即开始运行;例如模块 ngx_realip 就在 post-read 阶段注册了处理程序,...

Vagrant 相關

  https://developer.hashicorp.com/vagrant/downloads

【Lua】ngx.say 與 ngx.print 差異

差異在 ngx.say 會加入一個換行符號

MongoDB教育訓練-01

    mongodb 儲存格式 是 Bson MongoDB 與關連式資料庫結構對照   企業版的Tool       何時使用MongoDB 需要存取資料 ...

【Lua】SSL相關指令執行順序

【Lua】Nginx 變量

使用Ng變量 要在OpenResty中引用Nginx變量,可以使用 ngx . var . VARIABLE,要將變量從字符串轉換為數字,可以使用 tonumber函數。 -- 黑名单 l...

【Lua】vscode 外掛

https://marketplace.visualstudio.com/items?itemName=sumneko.lua

MongoDB教育訓練-02

  註冊 https://cloud.mongodb.com/ tool https://www.mongodb.com/try/download/shell     ...

【Lua】【優化】請求返回後繼續執行

ngx.eof 關閉連線,data 返還user,後續代碼繼續進行 local response, user_stat = logic_func.get_response(request) ...