Skip to content

Instantly share code, notes, and snippets.

View EnriqueCocom's full-sized avatar
🏠
Working from home

Enrique Cocom Canul EnriqueCocom

🏠
Working from home
View GitHub Profile
@rxaviers
rxaviers / gist:7360908
Last active May 21, 2024 13:02
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@Klerith
Klerith / git-alias.md
Last active May 20, 2024 21:07
Useful Git Alias

Log

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"

Status

git config --global alias.s status --short

Alternativa útil de status

git config --global alias.s status -sb

@Klerith
Klerith / tarea-pg-admin.md
Last active May 18, 2024 23:33
Tarea sobre PGAdmin y Postgres

Docker Hub images

Postgres

pgAdmin

1. Crear un volumen para almacenar la información de la base de datos

docker COMANDO CREAR postgres-db

2. Montar la imagen de postgres así

OJO: No hay puerto publicado -p, lo que hará imposible acceder a la base de datos con TablePlus

@Klerith
Klerith / instalaciones-node.md
Created January 26, 2021 22:39
Instalaciones recomendadas y obligatorias para seguir el curso de Node
@pablokbs
pablokbs / docker-compose-wordpress.yaml
Created December 16, 2018 14:40
Docker-compose para wordpress con mysql
## docker-compose para correr wordpress con una base de datos en mysql
## by PeladoNerd https://youtu.be/eoFxMaeB9H4
version: '3.1'
services:
wordpress:
image: wordpress:php7.1-apache
ports:
@Klerith
Klerith / instalaciones.md
Created August 25, 2021 21:31
Instalaciones necesarias para el curso de Git y GitHub
@pablokbs
pablokbs / docker-raspberry.md
Last active April 21, 2024 04:31
Docker en raspberry
@roxsross
roxsross / kubectl_aliases
Created April 10, 2024 02:13
alias-kubectl
#!/bin/bash
# other
alias k='kubectl'
alias kl='kubectl logs'
alias kexec='kubectl exec -it'
alias kpf='kubectl port-forward'
alias kaci='kubectl auth can-i'
alias kat='kubectl attach'
alias kapir='kubectl api-resources'
@roxsross
roxsross / 50-ejercicios.md
Created February 23, 2024 17:19
comandos linux

50 ejercicios de comandos de Linux con soluciones, centrados en enfoque DevOps.

1. Mostrar la versión de Linux que estás utilizando.

$ uname -a

2. Listar todos los archivos en el directorio actual.

$ ls