Skip to content

Instantly share code, notes, and snippets.

@w0ng
w0ng / 42-repl-global.conf
Last active October 12, 2015 18:27
infinality replace fonts
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- Global Replacements - Active if set to true above -->
<!-- Add your own replacements here -->
<!-- Clone "match" blocks below for each replacement -->
@w0ng
w0ng / fstab
Created November 5, 2012 15:19
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
LABEL=root / ext4 rw,relatime,data=ordered,discard 0 1
LABEL=boot /boot ext4 rw,relatime,data=ordered,discard 0 2
LABEL=var /var ext4 rw,relatime,data=ordered,discard 0 2
LABEL=home /home ext4 rw,relatime,data=ordered,discard 0 2
@w0ng
w0ng / 65-override.conf
Created November 5, 2012 13:23
infinality override
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- OVERRIDE SETTINGS -->
<!-- Full autohint -->
<!-- Makes vertical/horizontal stems align to pixels, but is not true to the glyphs -->
<!-- Some glyphs may look forced into place, however they are very sharp -->
@w0ng
w0ng / gist:4007819
Created November 3, 2012 16:25
systemd startup, fast with network.service
┌─[~]
└─╼ systemd-analyze blame
532ms mnt-data1.mount
411ms mnt-data0.mount
103ms systemd-udev-trigger.service
82ms mnt-scratch.mount
79ms systemd-remount-fs.service
76ms systemd-vconsole-setup.service
71ms systemd-sysctl.service
70ms sys-kernel-debug.mount
@w0ng
w0ng / gist:4007790
Created November 3, 2012 16:14
systemd startup, slow with dhcpcd
┌─[~]
└─╼ systemd-analyze blame
7044ms [email protected]
535ms mnt-data1.mount
399ms mnt-data0.mount
116ms systemd-vconsole-setup.service
113ms systemd-remount-fs.service
109ms systemd-sysctl.service
103ms systemd-udevd.service
103ms sys-kernel-debug.mount
@w0ng
w0ng / gist:3995446
Created November 1, 2012 18:06
autohotkey
+Capslock::Capslock
Capslock::Ctrl
*#;::Volume_Down
*#'::Volume_Up
*#/::Media_Play_Pause
*#[::Media_Next
*#]::Media_Prev
@w0ng
w0ng / 80-selective-rendering-inf-win-lin.conf
Created September 29, 2012 00:49
temp workaround for Infinality warnings
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: infinality, win7, winxp, win98, linux -->
<!-- ****************************************************************** -->
<!-- *********** SELECTIVE RENDERING FOR CERTAIN SITUATIONS *********** -->
<!-- ****************************************************************** -->
@w0ng
w0ng / 62-tt-traced-bitmap-rendering.conf
Created September 29, 2012 00:49
temp workaround for Infinality warnings
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- OVERRIDE SETTINGS -->
<!-- Make these fonts use no antialiasing or hinting (circa DOS / X11) -->
<!-- This should only be used on TTF outline fonts made from traced bitmaps and/or containing embedded bitmaps -->
<match target="font">
@w0ng
w0ng / 62-tt-monospace-rendering.conf
Created September 29, 2012 00:49
temp workaround for Infinality warnings
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- OVERRIDE SETTINGS -->
<!-- Monochrome BCI for these fonts (circa Windows 98) -->
<!-- This will make them look like crisp bitmap fonts. -->
<!-- This should only be used by fonts that contain good TrueType instructions -->
@w0ng
w0ng / 60-group-tt-fonts.conf
Created September 29, 2012 00:49
temp workaround for Infinality warnings
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<!-- ##Style: common -->
<!-- A list of TT instructed fonts that are verified
to look OK with infinality patches -->
<match target="font">