Skip to content

Instantly share code, notes, and snippets.

@chrpinedo
chrpinedo / .tmux.conf
Last active March 22, 2017 13:36
My tmux configuration compatible with my vim configuration https://github.com/chrpinedo/vimdot
# This is a personal tmux configuration file to be compatible with my vim
# configuration located at https://github.com/chrpinedo/vimdot
#
# Christian Pinedo <chr.pinedo@gmail.com>
set -g default-terminal "tmux"
if-shell "[[ $TERM = *256color ]]" "set -g default-terminal \"tmux-256color\""
if-shell "[[ $TERM = xterm-256color ]] && [[ $COLORTERM = truecolor || $COLORTERM = 24bit ]]" "set -ga terminal-overrides \",xterm-256color:Tc\""
set -ga terminal-overrides ",gnome-256color:Tc"
set -ga terminal-overrides ",xterm-termite:Tc"

Keybase proof

I hereby claim:

  • I am chrpinedo on github.
  • I am chrpinedo (https://keybase.io/chrpinedo) on keybase.
  • I have a public key whose fingerprint is A895 7C11 84F6 30B4 4938 32A4 9306 DFD0 CDE4 B542

To claim this, I am signing this object:

@chrpinedo
chrpinedo / insert-signature-in-pdf.md
Created April 4, 2016 10:27
How to insert your signature in a PDF file by using PDFtk

How to insert your signature in a PDF file by using PDFtk

Your signature in all the sheets

  1. convert the signature image to PDF file
convert firma.png firma.pdf
@chrpinedo
chrpinedo / virtualbox-no-time-sync.md
Created November 24, 2015 15:37
Disable time sync between host and Virtualbox virtual machine
  1. Disable time sync of the virtual machine:
VBoxManage setextradata MyVM "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1
  1. Optionally, introduce an offset (in milliseconds) regarding the current time
VBoxManage modifyvm MyVM --biossystemtimeoffset -1209600000