Login blocked after 5 failed login attempts

Submitted by dravenk on Thu, 09/07/2017 - 23:37
​DELETE FROM `flood`;
TRUNCATE flood RESTART IDENTITY;
​drush php-eval 'db_query("DELETE FROM `flood`");'
drush eval "db_delete('flood')->execute();"

错误修改 PATH

Submitted by dravenk on Sun, 05/28/2017 - 21:58

在编辑 Linux/MAC 的环境变量($PATH)文件.bash_profile或者.profile
到后导致-bash: ** : command not found
解决办法:
export PATH=/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/bin:/sbin

MAC环境变量

Submitted by dravenk on Sat, 05/27/2017 - 14:54

查看PATH echo $PATH
使用命令行添加 PATH,例如添加~/opt/bin
export PATH=$PATH:~/opt/bin
使用编辑器编辑你的$PATH
vim .bash_profile
或者vim .profile
vim /etc/paths
$PATH 使用:作为分割符号