This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-af "lowpass=c=LFE:f=120,volume=1.6,pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Stemma I2C Soil sensor example | |
This example code is in the Public Domain (or CC0 licensed, at your option.) | |
Unless required by applicable law or agreed to in writing, this | |
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | |
CONDITIONS OF ANY KIND, either express or implied. | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thank to efelippe https://github.com/docker/for-win/issues/7348#issuecomment-647160351 | |
wsl --shutdown | |
wsl --export docker-desktop-data docker-desktop-data.tar | |
wsl --unregister docker-desktop-data | |
wsl --import docker-desktop-data X:\path\to X:\path\to\docker-desktop-data.tar --version 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Thanks to G3NSVRV | |
# https://github.com/yuk7/ArchWSL/issues/91#issuecomment-506806989 | |
sudo rm -R /etc/pacman.d/gnupg/ | |
sudo rm -R /root/.gnupg/ | |
sudo rm -R /var/cache/pacman/pkg/ | |
sudo gpg --refresh-keys | |
sudo pacman-key --init | |
sudo pacman-key --populate archlinux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vcpkg_download_distfile(PKGCONFIG_ARCHIVE | |
URLS "https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-pkg-config-0.29.2-1-any.pkg.tar.xz" | |
SHA512 3b1b706a24d9aef7bbdf3ce4427aaa813ba6fbd292ed9dda181b4300e117c3d59a159ddcca8b013fd01ce76da2d95d590314ff9628c0d68a6966bac4842540f0 | |
FILENAME mingw-w64-i686-pkg-config-${VERSION}-any.pkg.tar.xz | |
) | |
vcpkg_download_distfile(LIBWINPTHREAD_ARCHIVE | |
URLS "https://mirror.yandex.ru/mirrors/msys2/mingw/i686/mingw-w64-i686-libwinpthread-git-8.0.0.5906.c9a21571-1-any.pkg.tar.zst" | |
SHA512 2c3d9e6b2eee6a4c16fd69ddfadb6e2dc7f31156627d85845c523ac85e5c585d4cfa978659b1fe2ec823d44ef57bc2b92a6127618ff1a8d7505458b794f3f01c | |
FILENAME mingw-w64-i686-libwinpthread-${LIBWINPTHREAD_VERSION}-any.pkg.tar.zst | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from io import BytesIO | |
from distutils.dir_util import copy_tree | |
import tempfile | |
buffer = BytesIO() | |
# Configs | |
target_arch = 'win64' | |
repo = 'https://api.github.com/repos/prusa3d/PrusaSlicer/releases/latest' |