jq -r ".accessToken" ~/.aws/sso/cache/10c4f2dbd6011f68dc44925dcadadae57ef918c1.json
aws sso get-role-credentials --role-name AdministratorAccess --account-id 260558796113 --access-token
| -- table size, index size, total size | |
| SELECT | |
| table_name, | |
| pg_size_pretty(table_size) AS table_size, | |
| pg_size_pretty(indexes_size) AS indexes_size, | |
| pg_size_pretty(total_size) AS total_size | |
| FROM ( | |
| SELECT | |
| table_name, | |
| pg_table_size(table_name) AS table_size, |
jq -r ".accessToken" ~/.aws/sso/cache/10c4f2dbd6011f68dc44925dcadadae57ef918c1.json
aws sso get-role-credentials --role-name AdministratorAccess --account-id 260558796113 --access-token
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| type geometry interface { | |
| // Area of a shape | |
| area() float64 |
| package main | |
| import ( | |
| "fmt" | |
| "math" | |
| ) | |
| type badRect struct { | |
| Width, Height float64 | |
| } |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) | |
| type CustomerInfo interface { | |
| Name() string | |
| Address() string |
| package main | |
| import "fmt" | |
| type badImplCustomer struct { | |
| Name string | |
| Address string | |
| Order int | |
| OrderComplete bool | |
| } |
| package main | |
| import ( | |
| "net/http" | |
| ) | |
| type FieldInjection struct { | |
| foo http.Server | |
| bar http.Server | |
| } |
| func main() { | |
| area := ProvideShape() | |
| fmt.Println(area) | |
| } |
| // Provider | |
| func NewFirebaseApp() *firebase.App { | |
| opt := option.WithCredentialsFile(filename) | |
| app, err := firebase.NewApp(context.Background(), nil, opt) | |
| if err != nil { | |
| log.Fatalf("error initializing app: %v\n", err) | |
| } | |
| return app | |
| } |
| // Provider | |
| func NewFirebaseApp() *firebase.App { | |
| opt := option.WithCredentialsFile(filename) | |
| app, err := firebase.NewApp(context.Background(), nil, opt) | |
| if err != nil { | |
| log.Fatalf("error initializing app: %v\n", err) | |
| } | |
| return app | |
| } |