Skip to content

Instantly share code, notes, and snippets.

~~~
Go to Google Console and create a new project! Download its credentials.json and place it in the folder which you will extract below.
~~~
1.Download Python:
https://www.python.org/downloads/
2.Download scripts:
https://www.caduceus.ml/files/SA%20-%20Auth%202.0.zip
(Error 400 Fixed)
3.Unzip above downloaded scripts
---
@suhiymof
suhiymof / gist:979017e0e42ccbd04cc581281495da05
Created June 17, 2022 18:39
python3 gen_sa_accounts.py --quick-setup -1
creat projects: -1
Will overwrite all service accounts in existing projects.
So make sure you have some projects already.
Press Enter to continue...
Enabling services
Traceback (most recent call last):
File "/root/SA/gen_sa_accounts.py", line 312, in <module>
resp = serviceaccountfactory(
File "/root/SA/gen_sa_accounts.py", line 225, in serviceaccountfactory
_enable_services(serviceusage,ste,services)
@suhiymof
suhiymof / git_toturia
Created September 30, 2017 15:22
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "[email protected]" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://[email protected]/VT.git # clone远程仓库