Skip to content

Instantly share code, notes, and snippets.

version: 3
dispatcher: relay
tag: local
type: mta
smtpname: sapiosoft.sapiosoft.com
helo: sapiosoft.sapiosoft.com
hostname: sapiosoft.sapiosoft.com
errorline: Network error on destination MXs
sockaddr: local
sender: @
@ryanflannery
ryanflannery / Makefile
Created October 16, 2018 03:32
oxbar not catching signals when run from makefile
# some simple test runs that work the gui/widget logic
testruns:
@echo just sigint / ctrl-c these
-./oxbar -y 0 -W "time time"
-./oxbar -y 0 -W "< time time"
-./oxbar -y 0 -W "| time time"
-./oxbar -y 0 -W "> time time"
-./oxbar -y 0 -W "time | time > time"
-./oxbar -y 0 -W "< | > time"
-./oxbar -y 0 -W "< time time | time time > time time"
@ryanflannery
ryanflannery / cairo_example.c
Created September 26, 2018 05:17
Problem in cairo + xcb where alpha blending is cumulative (becoming more opaque with each render)
/*
* NOTE: This is a little long because I'm including all XCB setup I have
* (including handling tiling window managers). It's below the main cairo logic
* for ease, but included for posterity. This is a subset of a larger program
* I'm working on.
*
* WHAT THIS IS:
* A sample program illustrating a problem I'm having with cairo/xcb, where I
* want to have a window that supports transparency (alpha channel) for the
* background color, and other components, with a regular re-draw cycle