跳到主內容

最近更新的頁面

Vagrant 相關

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

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

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

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

【nvm】Node.js 管理工具

nvm https://github.com/nvm-sh/nvm Mac 安裝nvm curl -o- https://raw.githubusercontent.com/n...

【Lua】Nginx 變量

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

【Lua】vscode 外掛

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

MongoDB教育訓練-01

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

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

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

MongoDB教育訓練-02

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

【Openresty】Lua 的變數範圍

只有在 init_by_lua* 和 init_worker_by_lua* 階段才能定義真正的 全域變數  

MongoDB教育訓練-05

    更新所有陣列元素   子查詢更新 Update & Insert 資料存在則更新,否則新增 返回更新前後的值(u...

MongoDB教育訓練-08

  Wildcard Indexes 可以加入所有欄位,但只能命中一個欄位 儲存空間的最大 不知道要對什麼做搜索的時候適用 使用hints指定索引 支援regul...

PHP_使用curl 上傳資料

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

Dockerfile 的 /etc/hosts 如何設定

來源: Dockerfile 的 /etc/hosts 如何設定 – Tsung's Blog (longwin.com.tw) Dockerfile 的 /etc/hosts 如何設定 ...

【Git】相關連結

github 線上教學GitHub Learning Lab Git基本原理介绍 | Escape (escapelife.site) Learn Git Branching (gitee....

【Git】Github 新增專案檔案

create a new repository on the command line echo "# sample_proj" >> README.md git init git add...

【Vue】相關連結

前言 | 重新認識 Vue.js | Kuro Hsu [ 重構倒數30天,你的網站不Vue白不Vue ] :: 2021 iThome 鐵人賽 Vue.js 進階心法 :: 2021 iT...

Laravel 常見問題: Specified key was too long

Laravel 在 5.4 版之後為了支援 emoji , 因此將資料編碼改為 utf8mb4. 由於 utf8mb4 的儲存空間需求膨脹了4倍, 導致預設長度無法正常寫入資料庫.這個問題會在 ...

Laravel jwt登入驗證

Laravel API 系列教程(二): 结合 Laravel 5.5 和 Vue SPA 基于 jwt-auth 实现 API 认证 | 构建 API 接口:原生开发 | Laravel 入门...

vue

routes:[ { path: '/login', name: 'login', compone...