- https://arnesonium.com/2023/07/emacs-29-1-on-ubuntu-22-04-lts
- https://www.reddit.com/r/emacs/comments/hkoksm/best_way_to_get_emacs_27_on_ubuntu_well_actually/
emacs29 libXaw… configure: error: No X toolkit could be found.
emacs29 libXaw… configure: error: No X toolkit could be found.
# cheese | |
cheese-install: | |
sudo aptitude install cheese | |
cheese-run: | |
cheese | |
# v4l2loopback | |
# | |
# - This module allows you to create "virtual video devices". |
# Nota: agregar en el Makefile principal: include helper.mk | |
.DEFAULT_GOAL=help | |
##@ Utilidades | |
h help: ## Mostrar menú de ayuda | |
@awk 'BEGIN {FS = ":.*##"; printf "\nOpciones para usar:\n make \033[36m\033[0m\n"} /^[$$()% 0-9a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) | |
.PHONY: h help |
wget --no-check-certificate --content-disposition https://github.com/joyent/node/tarball/v0.7.1 | |
# --no-check-cerftificate was necessary for me to have wget not puke about https | |
curl -LJO https://github.com/joyent/node/tarball/v0.7.1 |
SSH_CLIENT_DIR=$${HOME}/.ssh | |
SSH_CLIENT_DIR_PERMISSIONS=700 | |
SSH_CLIENT_CONFIG=$${HOME}/.ssh/config | |
SSH_CLIENT_CONFIG_PERMISSIONS=600 | |
PRINT_OCTAL_PERMISSIONS=stat --format='%a' | |
# se recomienda que sólo el usuario del sistema acceda al directorio ~/.ssh | |
# caso contrario el comando `ssh-add` NO permitirá agregar Claves Privadas de SSH, diciendo "WARNING: UNPROTECTED PRIVATE KEY FILE!" |
I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).
Use ssh keys and define host aliases in ssh config file (each alias for an account).
#!/bin/bash | |
# Objetivos de éste Bash Script | |
# ============================== | |
# | |
# - ejecutar una única instancia del Agente SSH | |
# (cada vez que se ejecute el ssh-agent se crea una nueva instancia del agente y crea un nuevo archivo tipo socket) | |
# - al crear una nueva Bash Shell (en un emulador de terminal) el Agente SSH utilice el mismo archivo tipo socket (referenciado por SSH_AUTH_SOCK) | |
# - la variable de entorno SSH_AUTH_SOCK de cada Bash Shell referencie al mismo archivo tipo socket |
include install-packages.mk | |
include mutt.mk |
SECRETO_FILE=secreto.txt | |
SECRETO_ENCRYPTED=$(SECRETO_FILE).gpg | |
# debe tener la funcionalidad de [E]ncriptar (encrypt capability) | |
ID_GPG_KEY=0x373250B7E54E64CC | |
encriptar: | |
gpg --recipient=$(ID_GPG_KEY) --encrypt $(SECRETO_FILE) | |
desencriptar: |