Running into Yii2


scalable attributes

beforeSave vs afterSave

crontab

grep

grep -rn '"' *
grep -rn '\\' *
grep -rn "\\" *                                                                                                                            luocy@bj-zdev02
grep: Trailing backslash

should be grep -rn "\\\\" *

replace string in multiple files

sed -i "s/oldString/newString/g" `grep oldString -rl *`


Roger
Published under (CC) BY-NC-SA in categories yii2  tagged with yii2, PHP