Skip to content

Instantly share code, notes, and snippets.

View dannybarrientos's full-sized avatar
:octocat:
Vive y se Feliz!

Danny Andres Barrientos Agudelo dannybarrientos

:octocat:
Vive y se Feliz!
View GitHub Profile
@dannybarrientos
dannybarrientos / install_choco_and_packages.ps1
Created December 12, 2022 15:52 — forked from jjruescas/install_choco_and_packages.ps1
Simple Terraform example that provisions a Linux 2 EC2 Instance and installs Nginx on it.
#Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
#Install Packages
choco install terraform -y
choco install awscli -y
#Refresh Environment Variables
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
@dannybarrientos
dannybarrientos / plugins.md
Created August 28, 2020 03:39 — forked from Klerith/plugins.md
Lista de plugins que uso en VSC
@jjruescas
jjruescas / install_choco_and_packages.ps1
Last active December 12, 2022 15:52
Simple Terraform example that provisions a Linux 2 EC2 Instance and installs Nginx on it.
#Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
#Install Packages
choco install terraform -y
choco install awscli -y
#Refresh Environment Variables
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
@Klerith
Klerith / instalaciones.md
Created August 20, 2019 19:35
Curso de Dart - Instalaciones
@Klerith
Klerith / plugins.md
Last active June 28, 2024 16:42
Flutter: Curso de Flutter - Instalaciones recomendadas

Programas

git config --global user.name "Tu nombre"
git config --global user.email "Tu correo"
@jdnichollsc
jdnichollsc / ABC.md
Last active April 16, 2024 03:40
The Job Interview Guide

The Job Interview Guide 💼

And English is a Work in Progress ⌛

@dannybarrientos
dannybarrientos / HU_Login
Created June 4, 2018 17:24
Historia de Usuario Login
HU- Ingreso al sistema
Yo como Usuario
Deseo ingresar al sistema
Para poder hacer uso de las funcionalidades del sistema
--- Criterios de aceptación -----
Criterios de Aceptación 1: Ingreso exitoso
@jlouros
jlouros / aws.upload-folder-to-s3.js
Last active September 8, 2023 22:48
Upload folder to S3 (Node.JS)
const AWS = require("aws-sdk"); // from AWS SDK
const fs = require("fs"); // from node.js
const path = require("path"); // from node.js
// configuration
const config = {
s3BucketName: 'your.s3.bucket.name',
folderPath: '../dist' // path relative script's location
};
@urodoz
urodoz / clean_docker.sh
Last active September 12, 2022 18:17
Cleans the old images and exited containers
# Clean the exited containers
docker rm $(sudo docker ps -a | grep Exit | cut -d ' ' -f 1)
# Clean the untagged images (or old images)
docker rmi $(docker images | tail -n +2 | awk '$1 == "<none>" {print $'3'}')
# On Docker 1.9+ you can remove the orphan volumes with the next command
docker volume rm $(docker volume ls -qf dangling=true)