This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.notion.so/20ed9b13e1e64884a83596e6bb094270?v=2765a785e057475db177e91d0dd3dc9a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Richardson’s MacBook Pro ~ ❯ aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion" 0:0:5 | |
[ | |
"5.6.mysql_aurora.1.19.6", | |
"5.6.mysql_aurora.1.20.1", | |
"5.6.mysql_aurora.1.22.1", | |
"5.6.mysql_aurora.1.22.2", | |
"5.6.mysql_aurora.1.22.3", | |
"5.6.mysql_aurora.1.23.0", | |
"5.6.mysql_aurora.1.23.1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS QuickSight Role | |
Role ARN | |
arn:aws:iam::NUMERODACONTAAWS:role/service-role/aws-quicksight-service-role-v0 | |
AWS QuickSight Policies | |
* AWSQuicksightAthenaAccess ( AWS já tem essa Policy, basta apenas usar ) | |
{ | |
"Version": "2012-10-17", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[credential] | |
helper = cache --timeout=3600 | |
[user] | |
name = Richardson Lima | |
email = | |
[alias] | |
# View abbreviated SHA, description, and history graph of the latest 20 commits | |
l = log --pretty=oneline -n 20 --graph --abbrev-commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ~/.osx — https://mths.be/osx | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Resources": { | |
"queue276F7297": { | |
"Type": "AWS::SQS::Queue", | |
"Properties": { | |
"QueueName": "queue" | |
}, | |
"Metadata": { | |
"aws:cdk:path": "ServerlessStackStack/queue/Resource" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Resources": { | |
"amazonecssampleLBF8E7DBED": { | |
"Type": "AWS::ElasticLoadBalancingV2::LoadBalancer", | |
"Properties": { | |
"Scheme": "internet-facing", | |
"SecurityGroups": [ | |
{ | |
"Fn::GetAtt": [ | |
"amazonecssampleLBSecurityGroup55736652", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create an API Gateway endpoint that invokes a Lambda function. This Lambda functions chooses a random number | |
// between 0 and 10000, and posts this number to an SQS queue. Another Lambda function picks up this message, | |
// and puts the value in DynamoDB | |
import * as cdk from '@aws-cdk/core'; | |
import { Queue } from '@aws-cdk/aws-sqs'; | |
import { Table, AttributeType } from '@aws-cdk/aws-dynamodb'; | |
import { Function, Runtime, Code } from '@aws-cdk/aws-lambda'; | |
import { RestApi, LambdaIntegration } from '@aws-cdk/aws-apigateway'; | |
import { SqsEventSource } from '@aws-cdk/aws-lambda-event-sources'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Applications | |
wget https://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz | |
tar -xvf dirb222.tar.gz | |
rm dirb222.tar.gz | |
brew install autoconf | |
chmod -R 755 dirb222 | |
cd dirb222 | |
./configure | |
make | |
make install |