Skip to content

Instantly share code, notes, and snippets.

View gustawho's full-sized avatar

Gustavo Castro gustawho

View GitHub Profile
# The root config entry
dn: cn=config
objectClass: olcGlobal
cn: config
olcArgsFile: /run/openldap/slapd.args
olcPidFile: /run/openldap/slapd.pid
# Schemas
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
@gustawho
gustawho / local.conf
Last active July 12, 2022 22:46
System-wide font settings, including emoji typeface
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
<edit mode="assign" name="autohint"> <bool>false</bool> </edit>
<edit mode="assign" name="hinting"> <bool>false</bool> </edit>
<edit mode="assign" name="lcdfilter"> <const>lcddefault</const> </edit>
<edit mode="assign" name="hintstyle"> <const>hintslight</const> </edit>
<edit mode="assign" name="antialias"> <bool>true</bool> </edit>
<edit mode="assign" name="rgba"> <const>rgb</const> </edit>
@gustawho
gustawho / .zshrc
Created July 10, 2020 21:17
~/.zshrc
#####################
##### ZSHRC #####
#####################
ZSH=/usr/share/oh-my-zsh/
ZSH_THEME=""
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR
fi
@gustawho
gustawho / arch-linux-instalacion.md
Last active April 11, 2024 17:46
Guía de Instalación de Arch Linux

Guía de Instalación de Arch Linux

El objetivo de este documento es orientar a quien sea que tenga la intención de instalar Arch Linux, por los motivos que sean. Aunque se tienen como prioridad a los nuevos usuarios, se espera que sea de utilidad a cualquiera persona, sin importar su nivel de experiencia. Aunque se ha realizado con las mejores intenciones, los errores y desinformaciones no siempre pueden evitarse. Una disculpa adelantada si esto provoca cualquier inconveniente, ¡las correcciones y recomendaciones son bienvenidas!

La estructura y el flujo de esta guía son de tal forma que, según el autor, proveen una serie de instrucciones naturales para que el resultado final de la instalación y configuración de Arch Linux sea equiparable a lo análogo de cualquier otra distribución o sistema operativo. Al principio de cada sección se ofrecen enlaces a la Wiki y a otros sitios (📌) y, aunque no necesariamente se tratarán de referencias, en la mayoría de los casos dichas entradas ofrecen soporte y una mayor p

@gustawho
gustawho / userChrome.css
Created September 30, 2018 17:46
Firefox CSD to the left side (Breeze)
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#titlebar-max { -moz-box-ordinal-group: 1; }
#titlebar-content { direction: rtl; }
#TabsToolbar { direction: rtl; }
#tabbrowser-tabs { direction: ltr; }
.titlebar-placeholder { direction: ltr !important; }
#titlebar-close, #titlebar-max, #titlebar-min { margin-top: -4px !important; }
@gustawho
gustawho / userChrome.css
Created September 7, 2018 11:33
CSD + Breeze Dark
/* Adjust Colors */
.tab-background:not([selected=true]),
.tab-background[selected="true"],
#titlebar-buttonbox,
#TabsToolbar,
#PersonalToolbar,
#nav-bar {
background: #31363b !important;
}
@gustawho
gustawho / 64-ttf-noto-color-emoji.conf
Created August 20, 2018 15:54
Fontconfig emoji color
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Make sure that Noto Color Emoji is in the list for Sans -->
<alias>
<family>sans</family>
<prefer>
<family>Noto Color Emoji</family>
</prefer>
</alias>
@gustawho
gustawho / test.txt
Created September 22, 2017 23:49
No
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Adrianas, web, page, Adriana, Adrianao simpson, Adrianao, simpsons, simpson, lisa, bart, Marge, Springfield, burns, mr, games, arcade, taringames">
<meta name="description" content="Adriana?s web page. - Welcome to the first and only site of Adriana Simpsons. Um, Ouch.!">
<title>Adriana's Web Page</title>
<link REL="Adrianas" HREF="Adrianaswebpage.com/favicon.ico">
<link href="https://linux.ucla.edu/~naclander/flash/imagen-facebook.jpg" rel="image_src">
</head>
@gustawho
gustawho / pokemon.sh
Last active September 13, 2016 03:30
#!/bin/sh
cd /tmp
if [ -f /usr/bin/apt ]; then
sudo apt -y install build-essential git
fi
if [ -d /tmp/img2xterm ]; then
rm -rf img2xterm
fi
git clone https://github.com/rossy/img2xterm
@gustawho
gustawho / openpgp.txt
Created May 6, 2016 23:50
OpenKeychain Linked Identity
Este Gist confirma la identidad vinculada en mi clave OpenPGP, y la vincula a esta cuenta de GitHub.
Credencial para comprobación:
[Verifying my OpenPGP key: openpgp4fpr:9f27e35c3da2e4c0845b25aa0c0646782d65bc99]