Skip to content

Instantly share code, notes, and snippets.

View LuisEnMarroquin's full-sized avatar
:electron:
Focusing

Luis Marroquin LuisEnMarroquin

:electron:
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am luisenmarroquin on github.
  • I am luismx (https://keybase.io/luismx) on keybase.
  • I have a public key ASD5PU1ShSaxpQYZk32WvF-aFIQzr2uaU6xtMLO0WSZhygo

To claim this, I am signing this object:

@LuisEnMarroquin
LuisEnMarroquin / docker-ubuntu.sh
Created January 12, 2022 01:12
Script to install Docker and docker-compose on Ubuntu 20 LTS
# Install Docker with convenience script
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Add your user to the Docker group
sudo usermod -aG docker $USER
# Refresh Docker group changes
newgrp docker
@LuisEnMarroquin
LuisEnMarroquin / spa-bucket.yml
Created September 16, 2021 04:07
aws cloudformation create-stack --stack-name public-bucket-for-spa --template-body file://./spa-bucket.yml
AWSTemplateFormatVersion: '2010-09-09'
Description: S3 bucket for SPA and public read policy
Parameters:
BucketName:
Type: String
Default: my-unique-bucket-name-123456789
Resources:
MyS3Bucket:
Type: AWS::S3::Bucket
Properties:
@LuisEnMarroquin
LuisEnMarroquin / spanish.ahk
Created June 16, 2021 19:12
Auto Hot Key script with ALT and SHIFT for Spanish accents
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#SingleInstance Force ; Skips the dialog box and replaces the old instance automatically.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; ! = alt
; + = shift
; alt + key
!a:: Send, {Asc 160}
@LuisEnMarroquin
LuisEnMarroquin / .bash_profile
Last active September 15, 2022 21:50
My bash aliases and functions
#!/bin/bash
CL_NULL='\e[0m'
CL_FAIL='\e[0;31m'
CL_NICE='\e[0;32m'
CL_WARN='\e[0;33m'
CL_BLUE='\e[0;34m'
CL_PURP='\e[0;35m'
CL_CYAN='\e[0;36m'