Skip to content

Instantly share code, notes, and snippets.

@w0ng
w0ng / 60-group-non-tt-fonts.conf
Created September 29, 2012 00:48
temp workaround for Infinality warnings
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- Make these fonts use autohint slight hinting -->
<!-- Makes only horizontal stems align to pixels. Truer to glyph -->
<!-- A list of non TT instructed fonts -->
@w0ng
w0ng / updatedb.conf
Created September 22, 2012 16:14
/etc/updatedb.conf
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda configfs cpuset cramfs debugfs devpts devtmpfs ecryptfs exofs ftpfs fuse fuse.encfs fuse.sshfs fusectl gfs gfs2 hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs shfs smbfs sockfs sshfs sysfs tmpfs ubifs udf usbfs vboxsf"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /mnt/cdrom /mnt/data0 /mnt/data1 /mnt/iso /mnt/usb /net /sfs /tmp /udev /var/cache /var/lib/pacman/local /var/lock /var/run /var/spool /var/tmp"
@w0ng
w0ng / 30-metric-aliases.conf
Created September 6, 2012 16:39
30-metric-aliases.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Alias similar/metric-compatible families from various sources:
PostScript fonts:
Helvetica
Times
Courier
@w0ng
w0ng / a.rb
Created September 6, 2012 15:35
infinality warnings
┌─[/etc/fonts/conf.d]
└─╼ sudo pacman -Sy fontconfig
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
warning: fontconfig-2.10.1-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
@w0ng
w0ng / codehilite-hybrid.css
Created August 19, 2012 18:08
css for python-markdown's codehilite extension (incomplete)
.codehilite .hll { background-color: #373b41 }
.codehilite { background: #1d1f21; color: #c5c8c6 }
.codehilite .c { color: #969896 } /* Comment */
.codehilite .err { border: 1px solid #cc6666 } /* Error */
.codehilite .g { color: #c5c8c6 } /* Generic */
.codehilite .k { color: #81a2be } /* Keyword */
.codehilite .l { color: #cc6666 } /* Literal */
.codehilite .o { color: #c5c8c6 } /* Operator */
.codehilite .x { color: #c5c8c6 } /* Other */
.codehilite .p { color: #c5c8c6 } /* Punctuation */
@w0ng
w0ng / hybrid.py
Created August 19, 2012 17:54
hybrid pygments colours
# -*- coding: utf-8 -*-
"""
pygments.styles.hybrid
~~~~~~~~~~~~~~~~~~~~~~~
Mimic the hybrid color scheme from Vim.
https://github.com/w0ng/vim-hybrid
"""
@w0ng
w0ng / .Xresources-hybrid
Last active August 22, 2023 14:05
Terminal colourscheme for use in hybrid.vim
! Hybrid Terminal Colours. Uses the palette from Tomorrow-Night:
! https://github.com/chriskempson/tomorrow-theme/blob/master/vim/colors/Tomorrow-Night.vim
! vim: ft=xdefaults
*background: #1D1F21
*foreground: #C5C8C6
! black
*color0: #282A2E
*color8: #373B41
! red
.boxed-group {
position:relative;
background:#efefef;
padding:3px;
border-radius:3px;
margin:0 0 15px 0;
}
.boxed-group+.boxed-group {
margin-top:35px;
}
button.classy,
button.classy:disabled,
button.classy.disabled,
a.button.classy:disabled,
a.button.classy.disabled,
button.classy:disabled:hover,
button.classy.disabled:disabled:hover,
a.button.classy.disabled:hover:disabled,
a.button.classy.disabled:hover,
a.button.classy,
GRUB_DEFAULT=0
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet add_efi_memmap"
GRUB_CMDLINE_LINUX="quiet init=/bin/systemd"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count