跳到主內容

最近更新的頁面

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...

MySQL_帳號管理

1.新增帳號 新增帳號 --新增使用者 test, 密碼 newpassword, 允許任何來源 % CREATE USER 'test'@'%' IDENTIFIED BY 'newpa...

Laravel_解決CORS錯誤

已封鎖跨來源請求: 同源政策不允許讀取 http://192.168.1.1/api/XXXXXX 的遠端資源。(原因: 缺少 CORS 'Access-Control-Allow-Origin...

prettyPrint

function prettyPrint( $json ) { $result = ''; $level = 0; $in_quotes = false; ...

PHP_實現異步請求

PHP教程:php中使用fsockopen實現異步請求(代碼示例) (insci.cn) 《面試官別再問》PHP運用多執行緒(Multi-thread)實現非阻塞方法 | 阿宅工作日誌 (bp...

【Python】安裝psycopg2錯誤

  [root@proxy ~]# yum -y install gcc gcc-c++ make [root@proxy ~]# pip3 install psycopg2 Erro...

【extension】Code Runner

  【錯誤處理】列印中文會顯亂碼 【解決】將輸出至終端機打勾

【Python】程式練習-ZeroJudge網站

ZeroJudge網站 http://zerojudge.tw/ 適合所有中學生及初學者的 Online Judge 系統 AC (Accept): 即表示通過NA (Not Accept...

【Python】登入網路設備擷取資訊

https://www.cnblogs.com/guxh/p/12375801.html https://www.cnblogs.com/guxh/p/9831226.html netmik...

【Python】selenium性能優化

selenium性能優化 chrome_options = Options() chrome_options.add_argument("--window-size=1920,1080") ...

【JS】iframe 自適應內容高度

  <script type="text/javascript"> function SetCwinHeight() { var iframeid = document.getEl...

【php】在 CentOS 6 安裝、設定 Oracel PDO_OCI

  在 CentOS 6 安裝、設定 Oracel PDO_OCI | 未知 (dtask.idv.tw) https://www.oracle.com/database/technolog...

PHP_連線postgresql

安裝postgrel extenstion yum install php-pgsql -y 修改 /var/lib/pgsql/12/data/pg_hba.conf host a...