List of "cards" from Oblique Strategies
(Stolen from David Wicks, who didn't specify any source license)
- Turn it over.
- Switch the axes.
- Think about color.
- Make it black and white.
- Use the tangents.
// Copyright © 2016 Alex | |
// | |
// This program is free software: you can redistribute it and/or modify it under | |
// the terms of the GNU Affero General Public License as published by the Free | |
// Software Foundation, either version 3 of the License, or (at your option) any | |
// later version. | |
// | |
// This program is distributed in the hope that it will be useful, but WITHOUT | |
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
// Copyright © 2021 Alex | |
// | |
// This program is free software: you can redistribute it and/or modify it under | |
// the terms of the GNU Affero General Public License as published by the Free | |
// Software Foundation, either version 3 of the License, or (at your option) any | |
// later version. | |
// | |
// This program is distributed in the hope that it will be useful, but WITHOUT | |
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
// FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
/*Stolen from http://aleclownes.com/2017/02/01/crt-display.html*/ | |
/*This adds a "crt scanlines" effect to the screen*/ | |
.crt-scanlines::before { | |
content: " "; | |
display: block; | |
position: absolute; | |
top: 0; | |
left: 0; | |
bottom: 0; |
#!/bin/sh | |
# This script tries to automatically switch to a plugged in monitor | |
# and handles any quirks or issues while doing so. | |
# Stores current desktop (bspwm switches to some other empty desktop after switch) | |
desk=$(bspc wm -d | jq ".monitors[].focusedDesktopId") | |
# Switch active monitor | |
if xrandr -q | grep -q "HDMI-2 connected"; then |
COVER := ".cover" | |
TARGETS := "$(go list ./... | grep -v /tmp)" | |
# Touch go.mod in any dirs you want to "exclude" from go mod tidy, | |
# for example inside tmp. | |
# Show available recipes by default | |
default: | |
@just --list | |
# Run tests and log the test coverage |
#!/bin/sh | |
set -e pipefail | |
# Converts all CBR files in current dir to CBZ | |
# Source: | |
# https://ubuntuforums.org/showthread.php?t=1273762&s=a388d691ed1d259329dc26304528a056&p=8676006#post8676006 | |
convert() { | |
dir=$(pwd) | |
cbr="$1" |
package main | |
import ( | |
"fmt" | |
"io" | |
"os" | |
"strings" | |
"time" | |
) |
#!/bin/sh | |
# Inspired by: | |
# https://old.reddit.com/r/PFSENSE/comments/9mipe0/unboundbased_dnsblacklisting/ | |
# https://news.ycombinator.com/item?id=22854209 | |
# | |
# With lotsa code stolen from: | |
# https://www.tumfatig.net/20190405/blocking-ads-using-unbound8-on-openbsd/ | |
# | |
# Comment filter syntax from: |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"strings" | |
"golang.org/x/text/encoding/charmap" | |
) |
(Stolen from David Wicks, who didn't specify any source license)