jq -r ".accessToken" ~/.aws/sso/cache/10c4f2dbd6011f68dc44925dcadadae57ef918c1.json
aws sso get-role-credentials --role-name AdministratorAccess --account-id 260558796113 --access-token
| swagger: '2.0' | |
| info: | |
| title: triPOS Transaction API | |
| version: 4.3.5 | |
| host: triposcert.vantiv.com | |
| basePath: / | |
| schemes: | |
| - https | |
| paths: | |
| /api/v1: |
| openapi: 3.0.2 | |
| x-stoplight: | |
| id: c6861590dda46 | |
| info: | |
| title: Finix API | |
| description: | |
| $ref: api-descriptions/main.md | |
| contact: | |
| name: Finix | |
| url: https://finix.com |
| -- 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
| diff --git a/shell/.config/nvim/lua/user/lsp/on_attach.lua b/shell/.config/nvim/lua/user/lsp/on_attach.lua | |
| index 256cae8..646103a 100644 | |
| --- a/shell/.config/nvim/lua/user/lsp/on_attach.lua | |
| +++ b/shell/.config/nvim/lua/user/lsp/on_attach.lua | |
| @@ -5,4 +5,14 @@ return function(client, bufnr) | |
| inlayhints.on_attach(client, bufnr) | |
| end | |
| end | |
| + | |
| + if client.name == "jdtls" then |
| 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 | |
| } |