Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<body>
<blockquote class="twitter-tweet" data-lang="de"><p lang="en" dir="ltr">Mm just saw the new Snapchat.. I don’t know how i feel about it! What do you guys think?</p>&mdash; Kylie Jenner (@KylieJenner) <a href="https://twitter.com/KylieJenner/status/962048891485999105?ref_src=twsrc%5Etfw">9. Februar 2018</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</body>
@herrernst
herrernst / asound.conf
Created March 4, 2018 07:47
alsa dmix raspberry pi hifiberry
pcm.hifiberry {
type hw card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
<!doctype html>
<style>
[data-oembed] iframe {
display: block;
border: 0 none;
}
</style>
<h1>oembed example</h1>
<p>WTF most oembed endpoints don't support CORS, so have to fetch from server; there are services: https://github.com/itteco/oembed-api</p>
<div data-oembed="https://www.youtube.com/oembed?url=http%3A//youtube.com/watch%3Fv%3DM3r2XDceM6A&format=json"></div>
@herrernst
herrernst / http-timeout.html
Last active September 14, 2018 16:25
http timeout
<!doctype html>
<p>hello</p>
<script src="https://1.2.3.4/"></script>
<p>finish</p>
@herrernst
herrernst / dbgmsg
Created November 21, 2018 20:54
zfs debug
This file has been truncated, but you can view the full file.
timestamp message
1542831618 dbuf.c:2675:dbuf_findbp(): error 2
1542831618 dmu_tx.c:910:dmu_tx_try_assign(): error 85
1542831618 dbuf.c:2675:dbuf_findbp(): error 2
1542831618 dmu_tx.c:910:dmu_tx_try_assign(): error 85
1542831618 dbuf.c:2675:dbuf_findbp(): error 2
1542831618 dmu_tx.c:910:dmu_tx_try_assign(): error 85
1542831618 dbuf.c:2675:dbuf_findbp(): error 2
1542831618 dmu_tx.c:910:dmu_tx_try_assign(): error 85
1542831618 dbuf.c:2675:dbuf_findbp(): error 2
@herrernst
herrernst / index.html
Last active June 11, 2019 13:42
OTF vs TTF rendering darkness/boldness
<!doctype html>
<title>OTF vs TTF rendering darkness/boldness</title>
<style>
@font-face {
font-family: "SourceSansPro-Regular.otf";
src: url(https://cdn.piraten-tools.de/fonts/source-sans-pro/2.020R-ro-1.075R-it/WOFF/OTF/SourceSansPro-Regular.otf.woff)
}
@font-face {
font-family: "SourceSansPro-Regular.ttf";
src: url(https://cdn.piraten-tools.de/fonts/source-sans-pro/2.020R-ro-1.075R-it/WOFF/TTF/SourceSansPro-Regular.ttf.woff)
@herrernst
herrernst / cardigans-gran-turismo-guitar-player.md
Created February 6, 2021 23:02 — forked from oliverbaptiste/cardigans-gran-turismo-guitar-player.md
A Track-by-Track Tour of The Cardigans' Gran Turismo

A Track-by-Track Tour of The Cardigans' Gran Turismo

By Kyle Swenson
Guitar Player, January 1999

Swedish popsters the Cardigans dumped an earful of sugar on the world with their 1997 smash hit, "Lovefool." Based on the song''s sparse guitars and bubble-gum chorus, you probably wouldn''t think of the band as raving experimentalists. But the Cardigan''s fourth album, Gran Turismo [Mercury], is a revelation of strange and rather unexpected guitar sounds. For example, you might think you''re hearing a guitar synth, a harpischord, or a pedal synth, a harpischord, or a pedal steel, but you''re not. All of the album''s sounds are production tricks conjured by guitarist Peter Svensson and producer Tore Johansson.

What's more, not one guitar track on Turismo was recorded using an amp. The guitars were either recorded direct or processed through Line 6's Amp Farm plug-in for Digidesign's Pro Tools. (For a full product review on Amp Farm, see "Virtual Vintage" in the Nov. '98 GP.) And although Amp Farm can de

@herrernst
herrernst / lip-sync.md
Last active April 30, 2021 17:12
debug lip sync and avr lag the cheap way
@herrernst
herrernst / build.sh
Created October 7, 2021 14:07
build oci-image (for docker/podman) from rootfs
debootstrap bullseye ./debian-bullseye # download and create rootfs download
tar cf debian-bullseye.tar -C ./debian-bullseye/ . # tar
podman import debian-bullseye.tar debian-bullseye # import with name
podman run -it debian-bullseye /bin/bash # run bash in named container
<!doctype html>
<meta name="viewport" content="width=device-width">
<style>
p, ul {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.condensed {
font-stretch: condensed;
background: rgba(255, 255, 0, 0.3);