摘要: ~/.pgpass hostname:port:database:username:password chmod 0600 ~/.pgpass PGPASSWORD=password psql --host=host --port=5432 --username postgres postgres 阅读全文
posted @ 2022-02-10 19:58 ascertain 阅读(27) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env bash git init touch init git add -- . git commit -am init echo a >> main_file git add --all git commit -am 'main a' echo b >> main_file git 阅读全文
posted @ 2022-02-10 15:00 ascertain 阅读(34) 评论(0) 推荐(0) 编辑
摘要: init.gradle allprojects { repositories { maven { url 'file:///E:/Java/Repository'} mavenLocal() maven { name "Alibaba" ; url "https://maven.aliyun.com 阅读全文
posted @ 2022-02-10 14:57 ascertain 阅读(17) 评论(0) 推荐(0) 编辑
摘要: user nginx; worker_processes auto; worker_processes 4; worker_cpu_affinity 0001 0010 0100 1000; worker_rlimit_nofile 65536; #error_log logs/error.log; 阅读全文
posted @ 2022-02-10 14:41 ascertain 阅读(87) 评论(0) 推荐(0) 编辑
摘要: #!/bin/env bash for branch in $(git branch -a | grep '^\s*remotes/origin/' | grep -Ev '(:?HEAD|master)$'); do git branch --force --track "${branch##*/ 阅读全文
posted @ 2022-02-10 13:02 ascertain 阅读(115) 评论(0) 推荐(0) 编辑
摘要: URL - Web APIs | MDN (mozilla.org) URL | Node.js v17.4.0 Documentation (nodejs.org) 阅读全文
posted @ 2022-02-10 13:01 ascertain 阅读(32) 评论(0) 推荐(0) 编辑