Context
The concept behind Takt is to track time in a simple and human-readable
manner that is easy to edit.
I have used time management tools like Factorial and Kenjo, and while they have
beautiful front-end interfaces, they often neglect the back-end. We, on the
other hand, prefer to do everything from the console.
Transitioning from Linux to MacOS
Having used Ubuntu/Pop_OS for several years both personally and professionally,
I’ve become well-versed in the Linux ecosystem. I have numerous scripts and a
comprehensive list of programs, along with my dotfiles
for easy
configuration.
However, upon switching companies, I was required to use a Mac. This transition
was challenging, especially since I missed the efficiency of a good window
manager. On Linux, I used i3, which significantly boosted my productivity.
Context
I’ve recently discovered an impressive CLI tool called ChatGPT,
which has replaced about 80% of my browser interactions. Now, I want to share
how to create a custom keybinding in i3 to open ChatGPT with a simple Win+g
command.
Setting Up the Keybinding
To create this keybinding, you need to add the following lines to your
i3/config
file:
Have you heard of rich?
Honestly, I don’t remember how long I’ve been following Will’s work,
but I find it very interesting and educational. Among Will’s work are
rich
and textual
, both projects designed to extend the
use of the terminal.
One thing you can see in Will’s work is the modular design. On one hand,
there’s rich
, which basically gives you the necessary tools to format console
output to your liking, making the console output clearer and more attractive.
Better git stash workflow
Sometimes, while working, I stash changes to switch to another branch or
something similar, make some changes there, stash again, and then want my
changes back. This is when everything becomes slow. It’s not the most common
practice, but when it occurs, it’s quite a hassle.
The Context: Does this sound familiar?
I was working as usual when, after executing black src
, my terminal just
vanished. There was no apparent reason for this. However, since I use tmux,
everything was still intact. I opened a new st
terminal, but it was impossible
to attach the tmux session without causing a crash in st
. The culprit?
Emojis!
No se cuantas horas he desper… invertido en tratar de configurar la red mesh
pero hoy por fin lo he conseguido. Aqui dejo los pasos que he seguido para
abrazar el exito en esta empresa.
La receta
Fuente original: https://xiaomi.eu/community/threads/ax-3600-mesh-not-detected.58886/post-611886
- Todo desconectado
- Enchufa solo la electricidad y Reseteo de fabrica del router (ambos).
- Cuando este listo enchufa el ethernet
- Configura el router usando la red 5g (siempre 5g)
- Conectarse al wifi
- Esperar a que salga el dialogo de configuracion.
- Desconectar del wifi y desactivar wifi del dispositivo usado durante ~30seg
- Conectar el router reset de fabrica a la electricidad
- Cuando las luces indican que esta iniciado enchufa el ethernet (luces naranjas y azules)
- Busca la red del router Xioami con el nombre 5G
- Espera a que aparezca una ventana emergente en el navegador de MiWifi.
- Configura el WIFI añadiendo contraseña.
- Contraseña:
12345678
- Usa la misma contraseña de Wifi para la contraseña del router. Esto es asi
por defecto, asi que no cambies nada.
- Apaga el wifi en el ordenador durante 30 segundos. ¯\_ (ツ) _/¯
- Selecciona la nueva red
12345678_5G
(!!!) ¡Siempre usa la red 5G! - Asegúrate de que el segundo router esté restablecido de fábrica y cerca del
Nodo Maestro (el primer AX3600) y conectado por ethernet al nodo principal.
- Usa el script proporcionado por ShotokanZH. ¡Gracias de nuevo!
- Terminal:
git clone https://github.com/ShotokanZH/MiWiFi_Mesh_Node_Adder
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
python3 addmesh.py
- Introduce
192.168.31.1
(IP del AX3600 Maestro) - Contraseña:
12345678
- El script te mostrará la dirección MAC correcta, asegúrate de copiar la de
5G y pegarla donde se pida. ¡Presiona enter, espera al reinicio!
Notas:
- La conseña es de ejemplo.
- No uses la dirección MAC que aparece en la etiqueta del router.
Links
Using xsetwacom
Here you will find anything you need to know about Graphics tablet:
What I’m using is:
1
2
| apt install xsetwacom
xsetwacom -h
|
Common usages
1
2
3
| $ xsetwacom set <stylus-PID> MapToOutput <display>
$ # the smart version
$ xsetwacom set $(xsetwacom list | grep "stylus" | awk '{print $8}') MapToOutput $(xrandr | grep connected | grep -v dis | awk '{print $1}' | fzf --height 10% --reverse)
|
Use always the stylus’ PID with: