Skip to content

Instantly share code, notes, and snippets.

@RicardoLRocha
RicardoLRocha / main.tf
Created July 19, 2022 03:50 — forked from kdgregory/main.tf
Example of Terraform module to create an SQS queue.
##
## Main configuration: creates several SQS queues using a module, then
## combines their policies into an application role.
##
provider "aws" {}
module "notifications_queue" {
source = "./modules/sqs"
queue_name = "Notifications"

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

body {
color:#222;
}
section {
}
.section-heading,
.section-description {
margin-bottom: 1.2rem;
@RicardoLRocha
RicardoLRocha / brew-list.sh
Created March 10, 2021 00:50 — forked from eguven/brew-list.sh
List all packages installed using Homebrew and their sizes
brew list --formula | xargs -n1 -P8 -I {} \
sh -c "brew info {} | egrep '[0-9]* files, ' | sed 's/^.*[0-9]* files, \(.*\)).*$/{} \1/'" | \
sort -h -r -k2 - | column -t
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDT4kxC4n9ASn53Ik881lP8RX/UY9BPd5TW1iQnso25tqy83yujg+C/U2Xz9H/oAc5Yc/wRmYoBw/2dbnT2aKiDoz2/uFM5Xq4rrKLCAKXrdggtuEE+GKSBcVuqmc31wZDNDA0yZOMAWdmxFs4As9OJ8mdsSS2zuOzjLadUN7ftkkgi9HgS8RT9WdCefiZcpiFd53PQwCxXLir/E2btRPB5gd4iokKj3sGstWYQZY6MedfuweC01CBNt9//A/sOHowX+oDRg2lXneY/D84j7CrG6Rccsk+UznzmtGvx9D3sSRDeyugBXl3hjcFVVxDgIJCN+IE8Cemos/ZE7UIF1NEd redhat@redhat
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDT4kxC4n9ASn53Ik881lP8RX/UY9BPd5TW1iQnso25tqy83yujg+C/U2Xz9H/oAc5Yc/wRmYoBw/2dbnT2aKiDoz2/uFM5Xq4rrKLCAKXrdggtuEE+GKSBcVuqmc31wZDNDA0yZOMAWdmxFs4As9OJ8mdsSS2zuOzjLadUN7ftkkgi9HgS8RT9WdCefiZcpiFd53PQwCxXLir/E2btRPB5gd4iokKj3sGstWYQZY6MedfuweC01CBNt9//A/sOHowX+oDRg2lXneY/D84j7CrG6Rccsk+UznzmtGvx9D3sSRDeyugBXl3hjcFVVxDgIJCN+IE8Cemos/ZE7UIF1NEd redhat@redhat
#!bin/bash
sudo dnf remove -y docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
@RicardoLRocha
RicardoLRocha / docker_install_fedora.sh
Created November 28, 2018 22:52
installing docker on fedora
#!/bin/bash
sudo dnf remove -y docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \