Skip to content

Instantly share code, notes, and snippets.


Steve Lee SteveALee

View GitHub Profile
SteveALee / gist:0e78dff6040780720093a14ce3a6f0ba
Last active Sep 16, 2021
Have browsers update when editing 11ty config file
View gist:0e78dff6040780720093a14ce3a6f0ba

By default 11ty devmode uses browsersync to reload webbrowsers whenever it regenerates pages to _site. It does this automatically when template files change.

However, the .eleventy.js file is only loaded when 11ty starts so if you edit shortcodes (say) you need to stop and restart 11ty.

The solution is to use nodemon to restart 11ty automatically when the config file changes. But then you need to use browser F5 to refresh. The solution to that is to get browsersync to reload the browsers To achieve that, the 11ty browsersync config option allows you to define a callback when browsersync is ready and you can add a browser reload call there.

Here's example code from music-practice-tools

SteveALee /
Last active Nov 19, 2022
Build audacity with ASIO support on Windows

Build your own Audacity for Windows with ASIO driver support

Note, if you have come here from a video the instructions for installing the tools have now changed.

Due to licensing rules Audacity cannot provide a prebuilt version with ASIO support. But you can build your own and this guide makes it easy for you to do so.

Note that this builds Audacity 3.1.2. Audacity 3.0.0 introduced a new project file format so you will hit compatability problems if you try to use Audacity 2.x.x to open projects saved with this version.**

The Audacity program is the "go to" solution for many audio recording and editing tasks. However, unlike many more advanced DAWs, it doesn't support Windows ASIO drivers "out of the box". Fortunately, Audiacity's standard MME support is fine for most uses. That said, common reasons for needing ASIO are using digital audio or music equipment that only comes with ASIO drivers, such as

View gist:4bd828882f2027f8878eb9ef856f7f60
<!DOCTYPE html>
<html lang="en">
body {
margin: 1px;
#main {
display: flex;
flex-direction: column;
View gist:a9f838b79639949ac879
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="">
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<ProjectHome />