原创 mac 中的phpstorm 配置html中的php方法跳轉

點擊左上角的phpstorm 選擇Prefereneces 選擇File Types 找到php 單擊,添加*.html即可

原创 Journal2 設置相關信息

Silde Category 側邊分類,一般放在分類頁面   CUSTOM SECTIONS (定製部分)可以定製顯示分類,商品,品牌   Flyout Menu 飛行菜單,各種菜單選項(分類或者其他品牌之類的,也可以自己加鏈接)   S

原创 .html 文件當作動態php 文件執行

修改一下nginx配置 location ~ \.php|\.html$ { try_files $uri =404; fastcgi_pass unix:/Applications/MAMP/L

原创 Laravel Artisan 命令大全

命令    中文    English clear-compiled    刪除已編譯的類文件    Remove the compiled class file down    將應用程序置於維護模式    Put the applic

原创 chrome 突然不加載外部css,js 和圖片,導致網站打不開

1.chrome 地址爛輸入chrome://flags 2.查找"Enable removing SameSite=None cookies" 和 “Cookies without SameSite must be secure

原创 ubuntu 安裝PHP擴展

sudo apt-get install php7.0-bcmath sudo apt-get install php7.0-bz2 sudo apt-get install php7.0-calendar sudo apt-get in

原创 git 本地忽略改動的文件

git update-index --assume-unchanged FILE 在FILE處輸入要忽略的文件。 如果要還原的話,使用命令: git update-index --no-assume-unchanged FILE

原创 jsp 中的js 使用es6

在ES6中拼接字符串十分快捷方便。如: $("#text_es6").html(` <h1>衝突!>/h1> <p>離解決衝突還有 ${second}秒。</p> `); 方便是方便,但在jsp或者其他帶有類似el

原创 css && js控制手機web頁面右鍵事件

css 控制 * { -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user

原创 Vscode 安裝Autoprefixer插件(自動補全css兼容性前綴)

插件搜索Autoprefixer,點擊安裝。 編輯配置 code->perferences->setting 搜索 Autoprefixer 編輯setting.json 瀏覽器配置 "autoprefixer.browser

原创 Mac 使用brew 問題(很慢)

brew install or brew update 都很慢! 使用國內的鏡像: 1、替換現有上游  git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.

原创 vue 購物車小球半場動畫

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鳥教程(runoob.com)</title> <!-- <script src="https://unpk

原创 同一個服務器,安裝不同php版本

php7 運行使用不同的端口 找到配置文件 /etc/php7-fpm.d 一般在這個目錄下  修改監聽端口 listen = 127.0.0.1:9002 然後配置nginx文件,加上這句  location ~* \.php$ {  

原创 docker 創建自己的easyswoole容器,並把容器打包成鏡像

macbook 創建docker easyswoole 容器,並打包成自己的鏡像 下載鏡像 docker pull easyswoole/easyswoole3 運行一個空的文件掛載(進入容器中,下載easyswoole) do

原创 修改mysql 存儲引擎

查詢數據庫有什麼引擎: select table_name,`engine` from information_schema.tables where table_schema = 'database_name'; 查詢表引擎(查看MYI