-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewerwith a pve-spice.vv file downloaded from proxmox web interface
Adaptive bed mesh is merged into klipper master branch. You can use this feature without this custom macro. Official klipper adaptive bed mesh
- This macro will dynamically changing the bed mesh area based on the size of the parts will be printed. The fw will only probe on the area that the part will be printed (plus mesh_area_offset value)
A quick guide on how to setup X11 forwarding on macOS when using docker containers requiring a DISPLAY. Works on both Intel and M1 macs!
This guide was tested on:
- macOS Catalina 10.15.4
- docker desktop 2.2.0.5 (43884) - stable release
- XQuartz 2.7.11 (xorg-server 1.18.4)
- Macbook Pro (Intel)
A minimal HTTP server in python. It sends a JSON Hello World for GET requests, and echoes back JSON for POST requests.
python server.py 8009
Starting httpd on port 8009...
curl http://localhost:8009
{"received": "ok", "hello": "world"}
This file contains hidden or 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
| # IDEA Ignores # | |
| ################ | |
| *.iml | |
| *.ipr | |
| *.iws | |
| .idea/ | |
| out/ | |
| local.properties | |
| # Generic Android ignores # |
Stream audio to any Sonos component via AirPlay using a Raspberry Pi (Model B, Raspbian Jessie) and the following software:
- Shairport Sync: configures the Raspberry Pi as an AirPlay audio player.
- DarkIce: encodes audio received from AirPlay (system audio) and sends it to Icecast2.
- Icecast2: serves streaming audio from DarkIce at a network URL.
This file contains hidden or 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 ruby | |
| require 'open3' | |
| require 'fileutils' | |
| def run_command(command) | |
| puts("+: " + command) | |
| Open3.popen2e(command) do |stdin, stdout_stderr, wait_thread| | |
| Thread.new do | |
| stdout_stderr.each {|l| puts l } |
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| system_set_hostname "$HOSTNAME" | |
| apt update && apt upgrade -y && apt install -y curl wget net-tools traceroute jq | |
| # Generate files | |
| mkdir -p /etc/victoriametrics/single | |
| mkdir -p /var/lib/victoria-metrics-data |
This file contains hidden or 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
| #!/bin/bash | |
| if [ $# -ne 3 ]; then | |
| echo "usage: $0 <unix socket file> <host> <listen port>" | |
| exit | |
| fi | |
| SOCK=$1 | |
| HOST=$2 | |
| PORT=$3 |
NewerOlder