Skip to content

Instantly share code, notes, and snippets.

Avatar

Earnestly

  • ᕕ( ᐛ )ᕗ
  • Little Rascal
View GitHub Profile
View cvimrc.vim
set noautofocus
set nosmoothscroll
let autoupdategist = true
let scrollstep = 200
let barposition = "bottom"
let searchengine b = "https://duckduckgo.com/html/?q=!"
let defaultengine = "b"
@Earnestly
Earnestly / dealing_with_failed_install.rst
Last active Oct 17, 2016
Dealing with Installation Interruptions with Pacman
View dealing_with_failed_install.rst

A Method to Correct Interrupted Installations with Pacman

An upgrade via pacman could be broken down into three phases:

1) Sync

Updates the sync databases with, if any, new packages. These are downloaded from the mirrors usually as gzip files located in /var/lib/pacman/sync such as core.db and extra.db.

@Earnestly
Earnestly / Makefile
Last active Apr 23, 2018
Mouse pointer centering for X11
View Makefile
PREFIX = /usr/local
bindir = /bin
LDLIBS := $(shell pkg-config --libs-only-l x11 xi)
all: mouse-spring
install:
install -Dm0755 mouse-spring $(DESTDIR)$(PREFIX)$(bindir)/mouse-spring
@Earnestly
Earnestly / statusbar.adoc
Last active May 7, 2018
Simple reactive statusbar
View statusbar.adoc
Table of Contents

The main event loop

statusdir=$XDG_RUNTIME_DIR/statusbar
mkdir -pm0700 "$statusdir"
@Earnestly
Earnestly / fonts.adoc
Last active Dec 13, 2018
Better Defaults for Freetype
View fonts.adoc

Better Defaults for Freetype

Table of Contents

Introduction

@Earnestly
Earnestly / basedev
Created Feb 8, 2014
A list of packages which should not be included in a PKGBUILD's "makedepend=()" array.
View basedev
binutils
glibc
linux-api-headers
tzdata
filesystem
iana-etc
zlib
file
autoconf
bash
@Earnestly
Earnestly / !README: opentype-bitmap.pe and opentype-bitmap.py
Last active Aug 2, 2019
Convert PCF and BDF files to bitmap only OpenType (.otb) using fontforge
View !README: opentype-bitmap.pe and opentype-bitmap.py
Convert PCF and BDF files to bitmap only OpenType (.otb) using fontforge
If you have a new enough fontforge, the python version of this script can
optionally read filenames from standard input, generating multiple .otb
font files as it finds new families. It also handles gzipped PCF and BDF
files.
@Earnestly
Earnestly / llpp.conf.xml
Last active Dec 21, 2019
Basic vi-like emulation using llpp's new keymapping. Also some other defaults and examples for custom fonts.
View llpp.conf.xml
<llppconfig>
<ui-font size='18'>
<![CDATA[/home/earnest/.local/share/fonts/Fontin-Regular.otf]]>
</ui-font>
<defaults zoom='100'
auto-scroll-step='12'
horizontal-scroll-step='24'
case-insensitive-search='true'
uri-launcher='$BROWSER &quot;%s&quot;'
View IRC protocol extensions.md

IRC protocol extensions

Original IRC protocol

Original protocol (IRCv2): [RFC 1459][rfc1459]

Later updated by [RFC 2810][rfc2810], [RFC 2811][rfc2811], [RFC 2812][rfc2812], [RFC 2813][rfc2813], but few servers follow these completely. IRCnet is probably the most complete implementation.

View !README: fc-glyph
fc-glyph - display all fonts which contain specified glyphs
You can’t perform that action at this time.