Skip to content

Instantly share code, notes, and snippets.

View vagrantsn's full-sized avatar
🎯
Focusing

Vagner S vagrantsn

🎯
Focusing
  • Rain Instant Pay
  • São Paulo, Brazil
View GitHub Profile
@vagrantsn
vagrantsn / localstack.tf
Created December 9, 2020 04:48
Localstack endpoints setup
provider "aws" {
access_key = "mock_access_key"
region = "us-east-1"
s3_force_path_style = true
secret_key = "mock_secret_key"
skip_credentials_validation = true
skip_metadata_api_check = true
skip_requesting_account_id = true
endpoints {

Keybase proof

I hereby claim:

  • I am vagrantsn on github.
  • I am vagnerst (https://keybase.io/vagnerst) on keybase.
  • I have a public key ASD5MFfAT3fFQa1uEsh7jtEZ21AigmfuVknMOXYRWt2GTwo

To claim this, I am signing this object:

@vagrantsn
vagrantsn / hooks.md
Last active April 8, 2019 20:51
React Hooks Notes

React Hooks

  • useState
const [filter, setFilter] = useState('')
  • useEffect
useEffect(() => { return willUnmountCallback }, []) // '[]' prevents 'fn' from running on update. Executes on mount and willUnmount
  • useReducer

LOGENTRIES

Campos importantes

  • id
  • company id
  • hora
  • statusCode
  • from
  • method