$ git branch | fzf
$ git switch $(git branch | fzf)
$ git checkout $(git for-each-ref refs/heads/ --format='%(refname:short)' | fzf)
Or add below script to .zshrc
| # SwiftUI Best Practices for iOS App Development | |
| When generating code, finding bugs, or optimizing SwiftUI projects, follow these guidelines: | |
| Never modify files without my consent. | |
| Only work on the exact feature I request. | |
| Don't duplicate files or functionalities. | |
| ## General Guidelines |
| export class JWTGenerator { | |
| private keyId: string; | |
| private issuerId: string; | |
| private privateKey: string; | |
| constructor(keyId: string, issuerId: string, privateKey: string) { | |
| this.keyId = keyId; | |
| this.issuerId = issuerId; | |
| // Normalize private key format | |
| this.privateKey = privateKey.replace(/\\n/g, '\n'); |
$ git branch | fzf
$ git switch $(git branch | fzf)
$ git checkout $(git for-each-ref refs/heads/ --format='%(refname:short)' | fzf)
Or add below script to .zshrc
npm install -g ts-node
npm install -g typescript
ts-node ***.ts
tsc main.ts && node main.js
npx ts-node-dev --respawn main.ts
postmaster.pid file. This issue happens when the PostgreSQL process dies without cleaning up its pid file.cd Library/Application\ Support/Postgres/var-13/rm postmaster.pidAcquiring, processing, analyzing, and understanding visual data in order to produce numerical or symbolic information.[wikipedia]