Skip to content

Instantly share code, notes, and snippets.

View pablotrianda's full-sized avatar
馃

PabloTrianda pablotrianda

馃
View GitHub Profile
@pablotrianda
pablotrianda / set_to_monitor.sh
Last active October 31, 2023 15:10
Select and change all workspaces to specific monitor
#!/bin/bash
# Script to change all the workspaces to the selected monitor
#
# Requirements:
# [Rofi](https://github.com/davatorium/rofi)
# [jq](https://jqlang.github.io/jq/)
display=$(echo -e "$(xrandr --listmonitors | awk 'NR > 1 {print $NF}')" | rofi -theme Pop-Dark -dmenu -multi-select )
if [ -z "$display" ]; then
@pablotrianda
pablotrianda / scrum.md
Last active October 11, 2023 20:26
SCRUM
Puntos Resumen Soluci贸n Esfuerzo
1 Insignificante, cambio de una linea, typo Obvia, cero incertidumbre Simple, podr铆a hacer muchos de estos por d铆a.
2 Cambio m铆nimo, cambios de configuraci贸n Conocida, casi nada de incertidumbre Bastante f谩cil, un code re view para checkear r谩pido
3 Peque帽o, un feature espec铆fico, investigaci贸n o colaboraci贸n con otros equipos insignificante Generalmente conocida, poca incertidumbre Voy a necesitar enfocarme, requiere code review y tests con esfuerzo, necesita una sesi贸n de concentraci贸n.
5 Feature compleja, requiere muy poca investigaci贸n o colaboraci贸n con otros equipos Tengo una idea, investigaci贸n limitada a conocida incertidumbre La complejidad o cantidad de trabajo requiere un par de sesiones de concentraci贸n
8 Feature compleja o grande, requiere un poco de investigaci贸n El concepto y los objetivos son conocidos, la soluci贸n requiere **u
@pablotrianda
pablotrianda / work.sh
Created September 4, 2023 12:07
Bash script to launch a new tmux session with 2 windows
#!/bin/bash
# Create a new session called "馃捇馃敟"
tmux new-session -d -s 馃捇馃敟
# Crate the first window and run vim
tmux new-window -t 馃捇馃敟:1 -n "NOTES"
#Open vim with the last note
tmux send-keys "v ~/Notes/$(ls /home/pablo/Notes | sort | tail -n 1)/$(ls ~/Notes/$(ls /home/pablo/Notes | sort | tail -n 1) | sort | tail -n 1)" C-m
# Crate the second one