結局これでは、解決しなかった…
MAMPでWordpressが"お使いのサーバーの PHP では WordPress に必要な MySQL 拡張を利用できないようです。"というエラーを吐く。
php.iniでDynamic Extensions
のところに、extension=msql.so
を追記
バージョンごとのphp.iniの場所 /Applications/MAMP/bin/php/phpx.x.x/conf/php.ini
結局これでは、解決しなかった…
MAMPでWordpressが"お使いのサーバーの PHP では WordPress に必要な MySQL 拡張を利用できないようです。"というエラーを吐く。
php.iniでDynamic Extensions
のところに、extension=msql.so
を追記
バージョンごとのphp.iniの場所 /Applications/MAMP/bin/php/phpx.x.x/conf/php.ini
VuejsをESLintする (globalのeslintからはlocalのeslint-plugin-vueがみれないのでlocalにインストールすること)
yarn add --dev eslint eslint-plugin-vue eslint-config-vue
.eslintrc
{
あるディレクトリ以下のファイルの権限を一括変更
chmod -R a=rX,u+w path/to/dir
ディレクトリまたは実行可能ファイルが 755 に、それ以外が 644 になります。
ランダム順序で実行した際に、得られるseedの値を使って、同じ順序で実行する方法。
rspec
...
Randomized with seed 20437
...
# 順序を指定して実行
// クラスの付与だけでdisplay:none;からフェードインさせる | |
@keyframes fade-in | |
0% | |
display: none | |
opacity: 0 | |
1% | |
display: block | |
opacity: 0 | |
100% |
# if pandas not installed | |
# pip install pandas | |
import pandas as pd | |
url = 'http://passo2.com/ph_j.htm' | |
dframe_list = pd.io.html.read_html(url) | |
# ページ内に複数のテーブルがある場合があるのでリストで返ってくる。 | |
# 出力結果はPandasのDataFrame形式 |
# リモート → ローカル | |
scp user@remoteHost:/home/user/test.txt /local/path | |
# ローカル → リモート | |
scp /local/test.txt user@remoteHost:/home/user/tmp/ |
引用元: http://qiita.com/oshou/items/2630f9f1c1131beb748e
df -h
du -sh [容量内訳を確認したいディレクトリのパス]
find . -regex '.*hoge_[1-4].*' |
https://www.udemy.com/introduction-to-networking-for-complete-beginners/learn/
ifconfig ping traceroute