Skip to content

Instantly share code, notes, and snippets.

View chentex's full-sized avatar

Vicente Zepeda Mas chentex

  • Red Hat
  • Nuremberg
View GitHub Profile
@chentex
chentex / _sources.list
Created October 11, 2011 02:15
sources.list
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
###### Debian Update Repos
deb http://security.debian.org/ squeeze/updates main contrib non-free
@chentex
chentex / gpg
Created October 11, 2011 02:23
gpg
wget -O - http://www.bimoid.com/debian/apt.key | apt-key add -
wget -q -O - http://www.dotdeb.org/dotdeb.gpg | apt-key add -
wget -q http://packages.enlightenment.org/repo.key -O- | apt-key add -
wget -q -O - http://repo.palatinus.cz/repo.key | apt-key add -
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
wget -O - http://deb.opera.com/archive.key | apt-key add -
wget -q -O - http://unofficial.debian-maintainers.org/project/openpgp/archive-key.asc | apt-key add -
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -
wget -q http://www.webmin.com/jcameron-key.asc -O- | apt-key add -
@chentex
chentex / tmux.conf
Last active March 3, 2021 22:20 — 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
__GIT_PROMPT_DIR="${0:A:h}"
## Hook function definitions
function chpwd_update_git_vars() {
update_current_git_vars
}
function preexec_update_git_vars() {
case "$2" in
git*|hub*|gh*|stg*)
@chentex
chentex / pr.md
Created October 17, 2018 14:29 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

@chentex
chentex / signature.asc
Created February 1, 2021 17:39
pgp_redhat
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF/8J8QBEADJDmFIv6OO3fDM7zn0h+f8N89uN8vp8zyW2JTkp4DlU/Y2tKTz
4GMTHNmGEJ4Wi/KJe1wParnhwiojWxz4TsjS09c5O6TPpwSNjYopKK5rG+seBNmw
Xxe/d8Kog+106iHo+THWnENnSp6iMKKM5L4Ek/S3Bn6bDzK2BkA1fmCFCjCeZN/x
zUFGOhWC/PB4aZ18NGIbdqqhjE+/fW3ct+iK7xzNavHjy60AIYWblu/U93xfHMNp
tQN63MHU/NYPyanr3UtNsFL+Y2kGdrU7FFVPbm8CMTRU8adkDVjjp5vAgEfUzFFo
3g2bfbQr0vrnknp7RJYvxSK9WuhwzIDK1j+W8vG3zkrr0aq68nXG5E4a5AxcYa9q
BTJ3jRgNMpLJDUd1hGy+qfQBoLwT/AKdp97c539ulUB1/CNenz8NzJlTvNp8S+LV
Xk7lTn/Qchhq+VRCE3zCGBBwjsbSUx0CPOWTuC4K9dgJXVmkjGbKs9QRMuKo61C7
@chentex
chentex / signature.asc
Created February 1, 2021 17:45
gpg_chente.z.m
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFvTO2QBEAC+2m69C6rOEemk2lCQ4eM/U6VlFNxqYsa2+tgDDF6X7WoPuZpE
pYRqMDcmkMKf9KkAr/cNEeyeBk0wJy5dw/uCzMy4akEn4yG5gh2A7moJZq/N/bKA
ckeoo9kPGFkyKktUsRQbhDDHpvNlUjOjMecGb3/ot9LBoykVskdBxo5CVPx7KzE5
nHrM+VdX0KD/U338O68okqchFpXKuGGMp3/maRKuL65FYVGJmHRvDDkftFpQFoHG
FFwbfZGw69wiowNtEj+VfdFRe5ZVOioRjT6cNSql8Hrdj7U49fUBEB2roF4NtNzx
d7vyJ5TiBY+HtRITkLZdpfXAOsN+eYS3GINExVdEfEMBhqOq1hNltD9TjjnMQLsU
95kwLuP6Sir88uHZJpAeb3GXZKrDiMSsriCkKLhyocGCucTtfesbv3jk3xOqIl+r
DPbrLaiL8aB0PHMZ7CqNb6VKpn9b4KhBFCT//oJ0MkS0taaQu0R5/RgnJXEVtaWa