Skip to content

Instantly share code, notes, and snippets.

View haujoe's full-sized avatar
😘
Welcome!

Charlie haujoe

😘
Welcome!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am syakod on github.
  • I am syakod (https://keybase.io/syakod) on keybase.
  • I have a public key whose fingerprint is 4432 C054 A4D7 B931 2F24 3580 EDD0 06E1 3ACB A728

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%
@haujoe
haujoe / 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'; # 重置密码
@haujoe
haujoe / .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