Skip to content

Instantly share code, notes, and snippets.

Linus Heckemann lheckemann

Block or report user

Report or block lheckemann

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:12ae46e1e3d952b91a9a3090fc520645
{
services.znapzend = let
makeDataSet = name: {
dataset = "bringtnix/leg/${name}";
# recursive…?
plan = "15min=>5min,4h=>15min,4d=>1h,1w=>1d,1m=>1w";
destinations."usb.${name}" = {
dataset = "external-backup/bringtnix/${name}";
plan = "2m=>1d,5y=>1m";
};
View fonts.conf.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<edit name="family" mode="prepend"><string>Noto Color Emoji</string></edit>
</match>
<match target="font">
View gist:b40e6f720bbad1b86ed91fe037de396b
U-Boot 2019.04 (Apr 09 2019 - 01:40:40 +0000)
DRAM: 448 MiB
RPI 3 Model A+ (0x9020e0)
MMC: mmc@7e202000: 0, sdhci@7e300000: 1
Loading Environment from FAT... OK
mbox: Header response code invalid
bcm2835: Could not configure display
"Synchronous Abort" handler, esr 0x86000004
elr: 80000003e4124004 lr : 80000003e4124004 (reloc)
View gist:9d2b786a0960aee6ea64a336818d387e
esphome:
name: socket_d
platform: ESP8266
board: esp8285
wifi:
ssid: ...
password: ...
domain: ".lan"
View gist:c58749ce553bcaec62e9cf00cdcdba70
Aug 07 13:25:41 bringtnix kernel: device-mapper: table: 254:2: adding target device nbd0 caused an alignment inconsistency: physical_block_size=1024, logical_block_size=1024, alignment_offset=0, start=33553920
Aug 07 13:25:41 bringtnix kernel: device-mapper: table: 254:2: start=65535 not aligned to h/w logical block size 1024 of nbd0
Aug 07 13:25:41 bringtnix kernel: device-mapper: core: Cannot calculate initial queue limits
Aug 07 13:25:41 bringtnix kernel: device-mapper: ioctl: unable to set up device queue for new table.
View gist:6b66c94fc3fb24ef1964b9b6669a3c49
07-29 07:50:15.905 2226 3394 I WifiService: getConfiguredNetworks uid=1000
07-29 07:50:15.923 6420 6420 I wpa_supplicant: wlan0: Trying to associate with SSID 'beaker2'
07-29 07:50:15.935 2226 3394 I WifiService: getWifiEnabledState uid=1000
07-29 07:50:15.935 2226 5066 I WifiService: getWifiEnabledState uid=1000
07-29 07:50:15.935 2226 3394 I WifiService: getConnectionInfo uid=1000
07-29 07:50:15.936 2226 3394 I WifiService: getConfiguredNetworks uid=1000
07-29 07:50:15.946 2226 3394 I WifiService: getConfiguredNetworks uid=1000
07-29 07:50:15.964 2226 5066 I WifiService: getWifiEnabledState uid=1000
07-29 07:50:15.965 2226 3394 I WifiService: getWifiEnabledState uid=1000
07-29 07:50:16.237 2226 3394 I WifiService: getWifiEnabledState uid=1000
View Main.hs
main :: IO ()
main = iterateM_ step (Yellow, emptyBoard) where
step (cur, board) = do
putStrLn $ showBoard board
pos <- readLn
let ix = boardIndex pos
let nextState = case insertPiece ix cur board of
Nothing -> (cur, board)
Just b -> (antipode cur, b)
case checkWin $ snd newBoard of
View gist:843c7b727fccecd8a9b2ed660ed83eb2
defaults
tls on
tls_trust_file /etc/ssl/certs/ca-bundle.crt
auth on
protocol smtp
logfile ~/.cache/msmtp.log
account default
from me@example.org
host smtp.example.org
View gist:2271d8d9292cfe57084a0df713900c86
U-Boot TPL board init
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL board init
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###
View gist:277bec4ca3018cc2093d5d76e19ee756
In file included from /virtual/main.c:3:
In file included from include/linux/fs.h:5:
In file included from include/linux/wait.h:6:
In file included from include/linux/list.h:8:
In file included from include/linux/kernel.h:13:
In file included from include/linux/printk.h:8:
In file included from include/linux/cache.h:5:
In file included from ./arch/arm64/include/asm/cache.h:19:
In file included from ./arch/arm64/include/asm/cachetype.h:19:
In file included from ./arch/arm64/include/asm/cputype.h:99:
You can’t perform that action at this time.