# cliのphpのバージョンを選択して切り替える
sudo update-alternatives --config php
# apache2のphpを無効化 & 有効化
sudo a2dismod php8.0 && sudo a2enmod php7.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git | |
alias gs='git status' | |
alias gd='git diff' | |
alias ga='git add' | |
alias gb='git branch' | |
alias gl='git log' | |
alias glp='git log -p' | |
alias gcm='git commit -m' | |
alias gc='git checkout' | |
alias gst='git stash' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"phpVersion": "7.4", | |
"core": "./_public", | |
"port": 8888 | |
} |
Cross-platform support (macOS, Windows, Linux)
# Check installable node versions
$ fnm list-remote
# Install new node version
$ fnm install v18.16.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
})(jQuery); |
- https://wordpress.org/plugins/duplicate-post/
- https://wordpress.org/plugins/wp-multibyte-patch/
- for Japanese bug fix.
- https://wordpress.org/plugins/add-featured-image-column/
- https://wordpress.org/plugins/wp-mail-catcher/
- https://ja.wordpress.org/plugins/siteguard/
- Install, But no need activate in test/local server.
https://github.com/nodenv/nodenv#command-reference
$ nodenv versions
$ nodenv install -l
var hoge1;
var hoge2 = 1;
console.log("hoge1 =", typeof hoge1, typeof hoge1 === 'undefined'); // hoge1 = undefined true
console.log("hoge2 =", typeof hoge2, typeof hoge2 === 'undefined'); // hoge2 = number false
console.log("hoge3 =", typeof hoge3, typeof hoge3 === 'undefined'); // hoge3 = undefined true
NewerOlder