Skip to content

Instantly share code, notes, and snippets.

View alvarmaciel's full-sized avatar

Alvar Maciel alvarmaciel

View GitHub Profile
@alvarmaciel
alvarmaciel / git-recent-branches
Last active November 27, 2023 20:05 — forked from mgaitan/git-recent-branches
List or checkout recently used branches in git
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
This is a derivated work from https://gist.github.com/mgaitan/ba1e4e252b90a7fd4a4eb9e1742e94fb
List the most recent branches you have been working on, and checkout any of them.
# Install
Put this file somewhere in your PATH, and set execution permissions.
Git will recognize it as the "recent-branches" subcommand.
@alvarmaciel
alvarmaciel / .pre-commit-config.yaml
Created May 21, 2020 16:16
errores de pre-commit
- repo: https://github.com/humitos/powrap
rev: pre-commit
hooks:
- id: powrap
# This one requires package ``hunspell-es_es`` in Archlinux
- repo: https://github.com/humitos/pospell
rev: pre-commit
hooks:
- id: pospell
@alvarmaciel
alvarmaciel / openpgp.txt
Created October 7, 2017 22:32
Identidad vinculada de OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7e6f0fd687fa41ae335788b67d104ca3867fc54f]
@alvarmaciel
alvarmaciel / openpgp.txt
Created October 7, 2017 22:32
Identidad vinculada de OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7e6f0fd687fa41ae335788b67d104ca3867fc54f]
@alvarmaciel
alvarmaciel / openpgp.txt
Created October 7, 2017 22:21
Identidad vinculada de OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7e6f0fd687fa41ae335788b67d104ca3867fc54f]
@alvarmaciel
alvarmaciel / openpgp.txt
Created October 7, 2017 22:21
Identidad vinculada de OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7e6f0fd687fa41ae335788b67d104ca3867fc54f]
@alvarmaciel
alvarmaciel / openpgp.txt
Created October 7, 2017 22:21
Identidad vinculada de OpenKeychain
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7e6f0fd687fa41ae335788b67d104ca3867fc54f]
@alvarmaciel
alvarmaciel / ApuntesJornadas.md
Created July 3, 2017 14:26
Tecnologias en el aula con perspectiva crítica

Notas de la reunión: II Jornada Tecnologías en el aula con perspectiva crítica

jul 1, 2017

Asistentes

Alvar Maciel, Trabajadorxs de INTEC, Te

Debate

  • SUGAR: Establecer otra metàfora que no sea el “escritorio” basada en un àmbito educativo y no laboral.
@alvarmaciel
alvarmaciel / gist:9687561
Created March 21, 2014 14:32
Dropbox Error Sysctl en ARCH

Agregar parametro para que dropbox no moleste

  1. crear y editar /etc/sysctl.d/99-sysctl.conf
  2. agregar una línea con fs.inotify.max_user_watches=100000
  3. ejecutar

sysctl -p /etc/sysctl.d/99-sysctl.conf

@alvarmaciel
alvarmaciel / logind.conf
Created March 15, 2014 15:19
Logind.conf configurar para control de acpi
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# See logind.conf(5) for details
[Login]