Skip to content

Instantly share code, notes, and snippets.

View drizztop's full-sized avatar
😘
Welcome!

Drizzt drizztop

😘
Welcome!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am noviclos on github.
  • I am noviclos (https://keybase.io/noviclos) on keybase.
  • I have a public key ASCCH5Uh_nOHyyZe_RGCYIJvOKmI4sFi-0v6jTjQxfaecQo

To claim this, I am signing this object:

🌞 Morning 8 commits █▊░░░░░░░░░░░░░░░░░░░ 8.4%
🌆 Daytime 35 commits ███████▋░░░░░░░░░░░░░ 36.8%
🌃 Evening 52 commits ███████████▍░░░░░░░░░ 54.7%
🌙 Night 0 commits ░░░░░░░░░░░░░░░░░░░░░ 0.0%
@drizztop
drizztop / mysql.sh
Created June 14, 2018 14:00
mysql 8.0.11 :第三方客户端连接 caching-sha2-password 问题
# mysql 8.0.11 :第三方客户端连接 caching-sha2-password 问题
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; # 修改加密规则
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; # 更新用户的密码
FLUSH PRIVILEGES; # 刷新权限
ALTER USER 'root'@'localhost' IDENTIFIED BY '1234567890'; # 重置密码
@drizztop
drizztop / .env
Created February 28, 2018 14:31 — forked from thebrubaker/.env
Laravel Passport: SPA Frontend Authentication
# Added to the bottom of my file
PROXY_OAUTH_CLIENT_ID=2
PROXY_OAUTH_CLIENT_SECRET=SECRET-GENERATED-KEY-HERE
PROXY_OAUTH_GRANT_TYPE=password