Skip to content

Instantly share code, notes, and snippets.

View abetancort's full-sized avatar

Alfonso C. Betancort abetancort

  • 28°08'13N 15°26'16W The Canaries (Canary Islands)
View GitHub Profile
@abetancort
abetancort / entware_synology.md
Created December 7, 2022 07:33 — forked from darencard/entware_synology.md
Setting up and using Entware on Synology device
@abetancort
abetancort / fake-scan-automator.sh
Created June 15, 2022 20:50 — forked from Pezmc/fake-scan-automator.sh
Make a pdf look scanned with macOS automator as a quick action
#!/bin/bash
# This script takes a PDF or list of PDFs and outputs a file(s)
# named <file>_scanned.pdf that looks like it has been scanned
#
# Requires imagemagic and popper to be installed (brew install imagemagick poppler)
#
# Accepts: a list of files
# Usage: ./<scriptfilename> pdf1.pdf pdf2.pdf
#
# To use as a macOS automator quick action you need to:
@abetancort
abetancort / tmux.conf
Last active August 7, 2020 13:32 — forked from spicycode/tmux.conf
The best and greatest tmux.conf ever
# 0 is too far from ` ;)
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
#set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
@abetancort
abetancort / mbp2011-disable-amd-gpu.md
Created April 5, 2018 21:31 — forked from blackgate/mbp2011-disable-amd-gpu.md
Macbook Pro 2011 - Disable AMD GPU
@abetancort
abetancort / VI Cheat
Created August 12, 2017 02:41 — forked from mallond/VI Cheat
VI Cheat
Navigation Keys - These are used in command mode:
$ Move to end of line
^ Move to beginning of line
Save and Quit Commands - These are used in lastline mode:
:w Write buffer (Save changes and continue working in vi Editor)
:w new_filename Write buffer to new filename (continue working in vi)
:wq Write buffer (save changes) and quit vi
:q! Quit without saving changes
:wq! Write buffer (save changes) and quit vi
(The ! will override Read only permissions but only if you are the owner of the file.)

Keybase proof

I hereby claim:

  • I am abetancort on github.
  • I am abetancort (https://keybase.io/abetancort) on keybase.
  • I have a public key whose fingerprint is DF91 AC2E 326E FDA7 D919 BBEB 043E 965D F4C9 45E5

To claim this, I am signing this object: